From 76e388113660410ad78168d737578a2f73dc1065 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Sat, 24 Dec 2016 13:39:47 +1000 Subject: - Removed Frame box generation from MaterialGenerator.java for things which have the generateAll flag as false. + Added some logging to RecipeBuilder() to further help find broken recipes. $ Fixed a missing texture; textures/items/cell/SulfuricLithium.png had a double .png file extension. --- src/Java/gtPlusPlus/core/util/recipe/RecipeUtils.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Java/gtPlusPlus/core/util/recipe') diff --git a/src/Java/gtPlusPlus/core/util/recipe/RecipeUtils.java b/src/Java/gtPlusPlus/core/util/recipe/RecipeUtils.java index 5951d29c7e..036e542a29 100644 --- a/src/Java/gtPlusPlus/core/util/recipe/RecipeUtils.java +++ b/src/Java/gtPlusPlus/core/util/recipe/RecipeUtils.java @@ -24,6 +24,15 @@ public class RecipeUtils { ArrayList validSlots = new ArrayList(); if (resultItem == null){ + Utils.LOG_INFO("Found a recipe with an invalid output, yet had a valid inputs. Skipping."); + return false; + } + + if (slot_1 == null && slot_2 == null && slot_3 == null && + slot_4 == null && slot_5 == null && slot_6 == null && + slot_7 == null && slot_8 == null && slot_9 == null){ + Utils.LOG_INFO("Found a recipe with 0 inputs, yet had a valid output."); + Utils.LOG_INFO("Error found while adding a recipe for: "+resultItem.getDisplayName()+" | Please report this issue on Github."); return false; } -- cgit