forked from nalc/homedecor_modpack
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