diff options
-rw-r--r-- | builtin/game/falling.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin/game/falling.lua b/builtin/game/falling.lua index 29d94ae5e..3ab64f67e 100644 --- a/builtin/game/falling.lua +++ b/builtin/game/falling.lua @@ -93,7 +93,9 @@ core.register_entity(":__builtin:falling_node", { end end -- Create node and remove entity - core.add_node(np, self.node) + if core.registered_nodes[self.node.name] then + core.add_node(np, self.node) + end self.object:remove() nodeupdate(np) return |