diff options
author | Auke Kok <sofar@foo-projects.org> | 2015-11-10 21:51:33 -0800 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2015-11-10 21:51:33 -0800 |
commit | 4fc113e9e6cdda0abf8a9a5e29f62da87522fd8e (patch) | |
tree | 8836af6bc0239e4c684d92a1a8dd41a6d37081ac | |
parent | 8feefb185833f659bc3a6591f9f003d3b16c4120 (diff) |
Think I really misread that to begin with.
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,7 +114,7 @@ local function node_is_plant(node) if not minetest.registered_nodes[name] then return false end - local drawtype = get_nodedef_field(name, "drawtype") + local drawtype = minetest.registered_nodes[name]["drawtype"] if drawtype == "plantlike" then return true end @@ -176,7 +176,7 @@ local function node_is_liquid(node) if not minetest.registered_nodes[name] then return false end - local drawtype = get_nodedef_field(name, "drawtype") + local drawtype = minetest.registered_nodes[name]["drawtype"] if drawtype then if (drawtype == "liquid") or (drawtype == "flowingliquid") then return true |