avoid "leaking" detached inventories to other players (#1)
(see also, 2ff48b22a9
)
This commit is contained in:
parent
143f97eaae
commit
c79b5de686
2
init.lua
2
init.lua
@ -190,7 +190,7 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
on_put = invsaw.on_put,
|
on_put = invsaw.on_put,
|
||||||
on_take = invsaw.on_take,
|
on_take = invsaw.on_take,
|
||||||
allow_move = function() return 0 end
|
allow_move = function() return 0 end
|
||||||
})
|
}, "invsaw")
|
||||||
inv:set_size("input",1)
|
inv:set_size("input",1)
|
||||||
inv:set_size("micro",1)
|
inv:set_size("micro",1)
|
||||||
inv:set_size("recycle",1)
|
inv:set_size("recycle",1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user