From 07b2ce0775b1f323c31eeb79ba27d5bf38961fc7 Mon Sep 17 00:00:00 2001 From: Andrey Stepanov Date: Thu, 5 Dec 2024 22:11:24 +0500 Subject: [PATCH] disable protection --- init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/init.lua b/init.lua index 5af8c22..25c9475 100644 --- a/init.lua +++ b/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 )