Compare commits

...

1 Commits

Author SHA1 Message Date
07b2ce0775
disable protection 2024-12-05 22:11:24 +05:00

View File

@ -145,13 +145,6 @@ minetest.register_node( "trophies:gold_cup", {
end,
on_dig = function ( pos, node, player )
local player_name = player:get_player_name( )
if not default.is_owner( pos, player ) then
minetest.record_protection_violation( pos, player_name )
return
end
local player_inv = player:get_inventory( )
local itemstack = ItemStack( node.name )