From c79b5de6863d6606211b5e0d0f2302c32e37191b Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 27 Nov 2016 02:06:34 -0500 Subject: avoid "leaking" detached inventories to other players (#1) (see also, https://github.com/minetest/minetest_game/pull/1413/commits/2ff48b22a99cc5d30ee774ec13093604ea8e0738 ) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3