aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/item/ModItems.java
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-03-20 21:54:54 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-03-20 21:54:54 +1000
commit769b7f51c217f57f6b4c9ef716bd9761f036c861 (patch)
tree823506e9bad14c0499aea69c15c0d08b8aab08e3 /src/Java/gtPlusPlus/core/item/ModItems.java
parentcbebd3bfd6b66a95f9a9f4fc6eacb29fb8c81e0c (diff)
downloadGT5-Unofficial-769b7f51c217f57f6b4c9ef716bd9761f036c861.tar.gz
GT5-Unofficial-769b7f51c217f57f6b4c9ef716bd9761f036c861.tar.bz2
GT5-Unofficial-769b7f51c217f57f6b4c9ef716bd9761f036c861.zip
$ 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.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item/ModItems.java')
-rw-r--r--src/Java/gtPlusPlus/core/item/ModItems.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Java/gtPlusPlus/core/item/ModItems.java b/src/Java/gtPlusPlus/core/item/ModItems.java
index 33215234b9..53fb757539 100644
--- a/src/Java/gtPlusPlus/core/item/ModItems.java
+++ b/src/Java/gtPlusPlus/core/item/ModItems.java
@@ -260,14 +260,12 @@ public final class ModItems {
static {
Logger.INFO("Items!");
- }
-
- public static final void init(){
-
- //Default item used when recipes fail, handy for debugging.
+ //Default item used when recipes fail, handy for debugging. Let's make sure they exist when this class is called upon.
AAA_Broken = new BaseItemIngot_OLD("AAA_Broken", "Errors - Tell Alkalus", Utils.rgbtoHexValue(128, 128, 128), 0);
ZZZ_Empty = new ItemEmpty();
+ }
+ public static final void init(){
itemAlkalusDisk = new BaseItemDamageable("itemAlkalusDisk", AddToCreativeTab.tabMisc, 1, 0, "Unknown Use", EnumRarity.rare, EnumChatFormatting.AQUA, false, null);
//Debug Loading