mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 03:55:01 +00:00
is_airlike: Fix accessing undefined global variable
This commit is contained in:
parent
a8e0a3088b
commit
3ac0fa14f9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue