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
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ minetest.register_abm({
return
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"))
hacky_swap_node(pos, "homedecor:microwave_oven")
meta:set_string("formspec", mw_oven_inactive_formspec)