fix dig node

This commit is contained in:
Thomas Rudin
2018-05-29 15:52:40 +02:00
parent 7cbec3cfae
commit 097983ec25
+1 -2
View File
@@ -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)