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

index 5c84afaa1cfb438d42d6e8e8ce9499da0bc8327a..176fe899b891808fd57d7a138135e983113bf171 100644 (file)
@@ -1384,7 +1384,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