aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/util
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-12-24 13:39:47 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-12-24 13:39:47 +1000
commit76e388113660410ad78168d737578a2f73dc1065 (patch)
treee064b15ec4a8a3df2d375133d5ad688a23d8a9e3 /src/Java/gtPlusPlus/core/util
parent733e82642363da011097666f91048b4da3c051eb (diff)
downloadGT5-Unofficial-76e388113660410ad78168d737578a2f73dc1065.tar.gz
GT5-Unofficial-76e388113660410ad78168d737578a2f73dc1065.tar.bz2
GT5-Unofficial-76e388113660410ad78168d737578a2f73dc1065.zip
- 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.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util')
-rw-r--r--src/Java/gtPlusPlus/core/util/recipe/RecipeUtils.java9
1 files changed, 9 insertions, 0 deletions
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<Object> validSlots = new ArrayList<Object>();
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;
}