summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-11-27 02:06:34 -0500
committercheapie <no-email-for-you@example.com>2016-11-27 01:06:34 -0600
commitc79b5de6863d6606211b5e0d0f2302c32e37191b (patch)
tree60523af39a1bd30920e71379a49431ef60cce88f
parent143f97eaae8800e88f6df4aa96ddf448e545e1de (diff)
downloadinvsaw-c79b5de6863d6606211b5e0d0f2302c32e37191b.tar
invsaw-c79b5de6863d6606211b5e0d0f2302c32e37191b.tar.gz
invsaw-c79b5de6863d6606211b5e0d0f2302c32e37191b.tar.bz2
invsaw-c79b5de6863d6606211b5e0d0f2302c32e37191b.tar.xz
invsaw-c79b5de6863d6606211b5e0d0f2302c32e37191b.zip
avoid "leaking" detached inventories to other players (#1)
(see also, https://github.com/minetest/minetest_game/pull/1413/commits/2ff48b22a99cc5d30ee774ec13093604ea8e0738 )
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 0dda0b5..f33a4d4 100644
--- a/init.lua
+++ b/init.lua
@@ -190,7 +190,7 @@ minetest.register_on_joinplayer(function(player)
on_put = invsaw.on_put,
on_take = invsaw.on_take,
allow_move = function() return 0 end
- })
+ }, "invsaw")
inv:set_size("input",1)
inv:set_size("micro",1)
inv:set_size("recycle",1)