Fix crash when furnace is full
authorPerttu Ahola <celeron55@gmail.com>
Sun, 12 Aug 2012 14:10:28 +0000 (17:10 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 12 Aug 2012 14:10:28 +0000 (17:10 +0300)
mods/default/init.lua

index a8f58c07e790f4bf4f138b029188ef70331bc232..c2927e72320a4f8893e193e92d4946116c88c792 100644 (file)
@@ -1403,7 +1403,7 @@ minetest.register_abm({
                                        srcstack:take_item()
                                        inv:set_stack("src", 1, srcstack)
                                else
-                                       print("Could not insert '"..cooked.item.."'")
+                                       print("Could not insert '"..cooked.item:to_string().."'")
                                end
                                meta:set_string("src_time", 0)
                        end