aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/recipe/common
diff options
context:
space:
mode:
author‭huajijam <strhuaji@gmail.com>2019-04-30 22:52:55 +0800
committer‭huajijam <strhuaji@gmail.com>2019-04-30 22:52:55 +0800
commite18a5f0e793ac8cf256d17b44910ecc0b7fdb094 (patch)
tree2cb080a99d07318a7f86c4afe2bfbb551de2766c /src/Java/gtPlusPlus/core/recipe/common
parent913bb1c0a34045b1aa11901f49107322b1c03b57 (diff)
parent47d2b68b66fb9958b57c3ff81f1e73e8f6afd91b (diff)
downloadGT5-Unofficial-e18a5f0e793ac8cf256d17b44910ecc0b7fdb094.tar.gz
GT5-Unofficial-e18a5f0e793ac8cf256d17b44910ecc0b7fdb094.tar.bz2
GT5-Unofficial-e18a5f0e793ac8cf256d17b44910ecc0b7fdb094.zip
Automatic synchronization
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();
}