master
A. Demant 2019-01-31 15:43:29 +01:00
parent 7aeb70df71
commit 8802429125
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)
print(dump2(stack))
if minetest.is_protected(pos, player:get_player_name()) then
return 0
end