mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-04-08 17:51:24 +02:00
is_airlike: Fix accessing undefined global variable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user