From 769b7f51c217f57f6b4c9ef716bd9761f036c861 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Tue, 20 Mar 2018 21:54:54 +1000 Subject: $ Moved Item & Block generation earlier into Pre-Init, before recipes are handled anywhere. $ Stopped getItemStackOfAmountFromOreDictNoBroken() caching invalid results, so that when they are generated, they can be cached later. --- src/Java/gtPlusPlus/core/util/minecraft/ItemUtils.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Java/gtPlusPlus/core/util/minecraft') diff --git a/src/Java/gtPlusPlus/core/util/minecraft/ItemUtils.java b/src/Java/gtPlusPlus/core/util/minecraft/ItemUtils.java index afa28cecee..ffde242f7d 100644 --- a/src/Java/gtPlusPlus/core/util/minecraft/ItemUtils.java +++ b/src/Java/gtPlusPlus/core/util/minecraft/ItemUtils.java @@ -343,11 +343,9 @@ public class ItemUtils { } } Logger.WARNING(oredictName+" was not valid."); - setCachedValue(oredictName, null); return null; } catch (final Throwable t){ - setCachedValue(oredictName, null); return null; } } -- cgit