add forgotten local keyword
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
parent
9aa8ccbf07
commit
790c60d7d9
|
@ -2166,7 +2166,7 @@ function nether.unregister_portal(name)
|
||||||
end
|
end
|
||||||
|
|
||||||
function nether.register_portal_ignition_item(item_name, ignition_failure_sound)
|
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, {
|
minetest.override_item(item_name, {
|
||||||
on_place = function(stack, placer, pt, ...)
|
on_place = function(stack, placer, pt, ...)
|
||||||
if pt.under and nether.is_frame_node[minetest.get_node(pt.under).name] then
|
if pt.under and nether.is_frame_node[minetest.get_node(pt.under).name] then
|
||||||
|
|
Loading…
Reference in New Issue