disable protection

This commit is contained in:
Andrey Stepanov 2024-12-05 22:11:24 +05:00
parent b5c5e08198
commit 07b2ce0775
Signed by: Koldun
GPG Key ID: 53DE683337F5D25F

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 )