summaryrefslogtreecommitdiff
path: root/worldedit
diff options
context:
space:
mode:
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