1
0
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:
Diego Martínez 2013-06-21 02:16:39 -03:00
parent 958a75ed05
commit 8cb01f366d

View File

@ -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)