add forgotten local keyword

Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
Jacob Lifshay 2024-03-04 11:47:41 -08:00 committed by GitHub
parent 9aa8ccbf07
commit 790c60d7d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2166,7 +2166,7 @@ function nether.unregister_portal(name)
end
function nether.register_portal_ignition_item(item_name, ignition_failure_sound)
old_on_place = minetest.registered_items[item_name].on_place or minetest.item_place
local old_on_place = minetest.registered_items[item_name].on_place or minetest.item_place
minetest.override_item(item_name, {
on_place = function(stack, placer, pt, ...)
if pt.under and nether.is_frame_node[minetest.get_node(pt.under).name] then