summaryrefslogtreecommitdiff
path: root/worldedit
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2013-01-12 08:17:14 +0100
committersfan5 <sfan5@live.de>2013-01-12 08:17:14 +0100
commit9f35891996018f93d0b7a6078cd88a0e6667b7ae (patch)
tree23905a74203866c6eafdea741268d8bc2ba8cb9a /worldedit
parent6f3127f32e6d51d25f36e57c6fea7a7fb9de73fb (diff)
Fix Code again
Diffstat (limited to 'worldedit')
-rw-r--r--worldedit/manipulations.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/manipulations.lua b/worldedit/manipulations.lua
index 91e3f8b..0985133 100644
--- a/worldedit/manipulations.lua
+++ b/worldedit/manipulations.lua
@@ -317,7 +317,7 @@ worldedit.fixlight = function(pos1, pos2)
pos.z = pos1.z
while pos.z <= pos2.z do
local node = env:get_node(pos)
- if node.name == "air":
+ if node.name == "air" then
env:dig_node(pos)
d = d + 1
pos.z = pos.z + 1