mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Fix fg/bg texture setting in register_furnace
If a custom fire_bg texture had been provided (not currently done within the modpack itself), fire_fg would have been set to that instead of the provided fire_fg or default.
This commit is contained in:
parent
d897e6d97c
commit
97e7a31830
@ -80,7 +80,7 @@ local furnace_can_dig = function(pos,player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function homedecor.register_furnace(name, furnacedef)
|
function homedecor.register_furnace(name, furnacedef)
|
||||||
furnacedef.fire_fg = furnacedef.fire_bg or "default_furnace_fire_fg.png"
|
furnacedef.fire_fg = furnacedef.fire_fg or "default_furnace_fire_fg.png"
|
||||||
furnacedef.fire_bg = furnacedef.fire_bg or "default_furnace_fire_bg.png"
|
furnacedef.fire_bg = furnacedef.fire_bg or "default_furnace_fire_bg.png"
|
||||||
|
|
||||||
furnacedef.output_slots = furnacedef.output_slots or 4
|
furnacedef.output_slots = furnacedef.output_slots or 4
|
||||||
|
Loading…
Reference in New Issue
Block a user