From 097983ec2548f23d7ba3988710f2ea33d47ba7a2 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Tue, 29 May 2018 15:52:40 +0200 Subject: [PATCH] fix dig node --- beacon.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beacon.lua b/beacon.lua index 95c839e..0f0aac3 100644 --- a/beacon.lua +++ b/beacon.lua @@ -65,9 +65,8 @@ local register_beacon = function(level, range, ingredient) meta:set_string("owner", placer:get_player_name() or "") end, - on_dig = function(pos) + after_dig_node = function(pos) locator.remove_beacon(pos) - return true end, on_construct = function(pos)