hollow: fix undefined variable

This commit is contained in:
Starbeamrainbowlabs 2021-01-31 21:30:13 +00:00
parent 6896a9bdd4
commit e8584c4ec6
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -15,7 +15,8 @@ function worldeditadditions.hollow(pos1, pos2, wall_thickness)
local manip, area = worldedit.manip_helpers.init(pos1, pos2)
local data = manip:get_data()
local node_id_ignore = minetest.get_content_id("air")
local node_id_ignore = minetest.get_content_id("ignore")
local node_id_air = minetest.get_content_id("air")
-- minetest.log("action", "pos1: " .. worldeditadditions.vector.tostring(pos1))
-- minetest.log("action", "pos2: " .. worldeditadditions.vector.tostring(pos2))