diff --git a/gate_defs.lua b/gate_defs.lua index 10aa054..d60ef4d 100644 --- a/gate_defs.lua +++ b/gate_defs.lua @@ -145,7 +145,6 @@ function removeGate (pos) local player_name=meta:get_string("owner") local gateNodes=minetest.deserialize(meta:get_string("gateNodes")) if gateNodes ~= nil then - core.remove_node(gateNodes[1].pos) stargate.unregisterGate(player_name,gateNodes[1].pos) end end