summaryrefslogtreecommitdiff
path: root/extra.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2014-11-21 20:26:04 +0000
committertenplus1 <kinsellaja@yahoo.com>2014-11-21 20:26:04 +0000
commitc20f259f4b00ac69be37f79f8500e53db395e7f5 (patch)
tree1ac67f0a63822323b9df224fc731ab3aebb677a9 /extra.lua
parentc4d4e229f7d63959508e4505099a7fca5ca87534 (diff)
Updated: flowers and code tidy
Diffstat (limited to 'extra.lua')
-rw-r--r--extra.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra.lua b/extra.lua
index d7ae671..11959aa 100644
--- a/extra.lua
+++ b/extra.lua
@@ -287,9 +287,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
for key, pos in pairs(coal_nodes) do
local bpos = { x=pos.x, y=pos.y + 1, z=pos.z }
- nod = minetest.get_node(bpos).name
- if nod == "air" then
+ if minetest.get_node(bpos).name == "air" then
if bpos.y > -3000 and bpos.y < -2000 then
minetest.add_node(bpos, {name = "ethereal:illumishroom3"})
elseif bpos.y > -2000 and bpos.y < -1000 then