diff options
author | kpoppel <poulsen.kim@gmail.com> | 2013-06-03 23:42:44 +0200 |
---|---|---|
committer | kpoppel <poulsen.kim@gmail.com> | 2013-06-03 23:42:44 +0200 |
commit | 4f1a44a80b5522db60125f3018c0ce80fbb9e3b4 (patch) | |
tree | f9c45f57d6aed6f7aaf683993e8703bac04c937c /item_drop | |
parent | ede3978965790f9683b96d12fc0bf80ba30824cd (diff) |
Removing ununsed textures.
Added more safety to item_drop to get around a fatal server halt issue.
Diffstat (limited to 'item_drop')
-rw-r--r-- | item_drop/item_entity.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/item_drop/item_entity.lua b/item_drop/item_entity.lua index 3d1a83b..5da8285 100644 --- a/item_drop/item_entity.lua +++ b/item_drop/item_entity.lua @@ -109,7 +109,7 @@ minetest.register_entity(":__builtin:item", { return end - if minetest.registered_nodes[name].liquidtype == "flowing" then + if minetest.registered_nodes[name] and minetest.registered_nodes[name].liquidtype == "flowing" then get_flowing_dir = function(self) local pos = self.object:getpos() local param2 = minetest.env:get_node(pos).param2 |