mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02: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