From 4f1a44a80b5522db60125f3018c0ce80fbb9e3b4 Mon Sep 17 00:00:00 2001 From: kpoppel Date: Mon, 3 Jun 2013 23:42:44 +0200 Subject: Removing ununsed textures. Added more safety to item_drop to get around a fatal server halt issue. --- item_drop/item_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'item_drop/item_entity.lua') 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 -- cgit v1.2.3