mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-25 18:20:38 +01:00
Fix Code
This commit is contained in:
parent
5f1fb56b8b
commit
6f3127f32e
@ -315,7 +315,7 @@ worldedit.fixlight = function(pos1, pos2)
|
|||||||
pos.y = pos1.y
|
pos.y = pos1.y
|
||||||
while pos.y <= pos2.y do
|
while pos.y <= pos2.y do
|
||||||
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":
|
||||||
env:dig_node(pos)
|
env:dig_node(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user