mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-26 02:30:40 +01:00
Fix Code again
This commit is contained in:
parent
6f3127f32e
commit
9f35891996
@ -317,7 +317,7 @@ worldedit.fixlight = function(pos1, pos2)
|
|||||||
pos.z = pos1.z
|
pos.z = pos1.z
|
||||||
while pos.z <= pos2.z do
|
while pos.z <= pos2.z do
|
||||||
local node = env:get_node(pos)
|
local node = env:get_node(pos)
|
||||||
if node.name == "air":
|
if node.name == "air" then
|
||||||
env:dig_node(pos)
|
env:dig_node(pos)
|
||||||
d = d + 1
|
d = d + 1
|
||||||
pos.z = pos.z + 1
|
pos.z = pos.z + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user