From 8cb01f366d1a977062721eff80b5b8a67e6bbde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Fri, 21 Jun 2013 02:16:39 -0300 Subject: [PATCH] Fix inverted conditional that prevents microwaves from working --- microwave_oven.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microwave_oven.lua b/microwave_oven.lua index 512ad1b..fa0ad52 100644 --- a/microwave_oven.lua +++ b/microwave_oven.lua @@ -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)