disable protection
This commit is contained in:
parent
b5c5e08198
commit
07b2ce0775
7
init.lua
7
init.lua
@ -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 )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user