summaryrefslogtreecommitdiff
path: root/item_drop/item_entity.lua
diff options
context:
space:
mode:
authorkpoppel <poulsen.kim@gmail.com>2013-06-03 14:48:46 -0700
committerkpoppel <poulsen.kim@gmail.com>2013-06-03 14:48:46 -0700
commitceb8a71f27b45c304ce2626cc4f939a52323b192 (patch)
treef9c45f57d6aed6f7aaf683993e8703bac04c937c /item_drop/item_entity.lua
parent7d890428f547758ffd907252b2effb1d743c02e4 (diff)
parent4f1a44a80b5522db60125f3018c0ce80fbb9e3b4 (diff)
Merge pull request #19 from kpoppel/master
Solar arrays and bug fixes to HV tier.
Diffstat (limited to 'item_drop/item_entity.lua')
-rw-r--r--item_drop/item_entity.lua2
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