is_airlike: Fix accessing undefined global variable

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 19:54:13 +01:00
parent a8e0a3088b
commit 3ac0fa14f9
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -25,7 +25,7 @@ function worldeditadditions.is_airlike(id)
return true
end
-- Just in case
if worldeditadditions.str_starts(this_node_name, "wielded_light") then
if worldeditadditions.str_starts(name, "wielded_light") then
return true
end
-- Just in case