mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
is_airlike: Fix accessing undefined global variable
This commit is contained in:
parent
a8e0a3088b
commit
3ac0fa14f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user