summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-05-28 08:24:35 -0500
committercheapie <no-email-for-you@example.com>2016-05-28 08:24:35 -0500
commit143f97eaae8800e88f6df4aa96ddf448e545e1de (patch)
tree5471096e945c903c68a8d8373d709f63794a6132
parent5681dff2ddc62121af779c4f626d326205badbde (diff)
downloadinvsaw-143f97eaae8800e88f6df4aa96ddf448e545e1de.tar
invsaw-143f97eaae8800e88f6df4aa96ddf448e545e1de.tar.gz
invsaw-143f97eaae8800e88f6df4aa96ddf448e545e1de.tar.bz2
invsaw-143f97eaae8800e88f6df4aa96ddf448e545e1de.tar.xz
invsaw-143f97eaae8800e88f6df4aa96ddf448e545e1de.zip
Fix crash
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index d7f44cd..0dda0b5 100644
--- a/init.lua
+++ b/init.lua
@@ -136,7 +136,7 @@ invsaw.on_take = function(inv, listname, index, stack, player)
player_inv:add_item("main", input_stack)
end
- circular_saw:reset(pos)
+ invsaw.reset(inv,player:get_player_name())
return
end