mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Fix inverted conditional that prevents microwaves from working
This commit is contained in:
parent
958a75ed05
commit
8cb01f366d
@ -285,7 +285,7 @@ minetest.register_abm({
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if inv:room_for_item("dst",cooked.item) then
|
if not inv:room_for_item("dst",cooked.item) then
|
||||||
meta:set_string("infotext", S("Oven output bins are full"))
|
meta:set_string("infotext", S("Oven output bins are full"))
|
||||||
hacky_swap_node(pos, "homedecor:microwave_oven")
|
hacky_swap_node(pos, "homedecor:microwave_oven")
|
||||||
meta:set_string("formspec", mw_oven_inactive_formspec)
|
meta:set_string("formspec", mw_oven_inactive_formspec)
|
||||||
|
Loading…
Reference in New Issue
Block a user