aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/recipe/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/core/recipe/common')
-rw-r--r--src/Java/gtPlusPlus/core/recipe/common/CI.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/core/recipe/common/CI.java b/src/Java/gtPlusPlus/core/recipe/common/CI.java
index ca334fe0d3..dffb438e4a 100644
--- a/src/Java/gtPlusPlus/core/recipe/common/CI.java
+++ b/src/Java/gtPlusPlus/core/recipe/common/CI.java
@@ -484,10 +484,13 @@ public class CI {
public static void init() {
//Set Explosives
try {
- ItemList PowerderBarrel = gtPlusPlus.core.util.Utils.getValueOfItemList("Block_Powderbarrel", null);
+ ItemList PowerderBarrel = Utils.getValueOfItemList("Block_Powderbarrel", null);
if (PowerderBarrel != null){
explosivePowderKeg = PowerderBarrel.get(1).copy();
}
+ else {
+ explosivePowderKeg = ItemUtils.getSimpleStack(Items.gunpowder).copy();
+ }
} catch (java.lang.IllegalArgumentException Y) {
explosivePowderKeg = ItemUtils.getSimpleStack(Items.gunpowder).copy();
}