master
A. Demant 2019-01-31 15:49:22 +01:00
parent f77f022698
commit b17ba03df6
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ local function can_dig(pos, player)
end
local function allow_metadata_inventory_put(pos, listname, index, stack, player)
minetest.log(dump2(stack:get_name()))
if minetest.is_protected(pos, player:get_player_name()) then
return 0
end