1
0
Fork 0
mirror of https://github.com/sbrl/Minetest-WorldEditAdditions.git synced 2025-03-28 02:44:53 +00:00

ellipsoid: remove redundant minetest.get_content_id("air") call

wea.is_airlike() is the new function that should be used instead,  but 
in this case the call wasn't even necessary
This commit is contained in:
Starbeamrainbowlabs 2021-10-13 22:46:14 +01:00
parent 32fb8be8fe
commit 5bdd8ddb5e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -18,7 +18,6 @@ function worldeditadditions.ellipsoid(position, radius, target_node, hollow)
local data = manip:get_data()
local node_id = minetest.get_content_id(target_node)
local node_id_air = minetest.get_content_id("air")
local stride_z, stride_y = area.zstride, area.ystride