aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2022-04-16 20:57:50 +0900
committerGitHub <noreply@github.com>2022-04-16 13:57:50 +0200
commit64f3285a245d4892655c41a0a0540e64ab07c0c0 (patch)
treee80f0fd2de765c0509dd2a3b16995f26b3a65f27
parent4b88edfb7025af4cf4c2efcbeddd6545a7f6f75e (diff)
downloadGT5-Unofficial-64f3285a245d4892655c41a0a0540e64ab07c0c0.tar.gz
GT5-Unofficial-64f3285a245d4892655c41a0a0540e64ab07c0c0.tar.bz2
GT5-Unofficial-64f3285a245d4892655c41a0a0540e64ab07c0c0.zip
Allow Hand Pumps to be inserted into Toolbox (#174)
-rw-r--r--dependencies.gradle2
-rw-r--r--src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/dependencies.gradle b/dependencies.gradle
index a7ba70e915..d50d1c50fc 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -1,7 +1,7 @@
// Add your dependencies here
dependencies {
- compile('com.github.GTNewHorizons:GT5-Unofficial:5.09.40.43:dev')
+ compile('com.github.GTNewHorizons:GT5-Unofficial:5.09.40.47:dev')
compile('com.github.GTNewHorizons:StructureLib:1.0.15:dev')
compile('com.github.GTNewHorizons:NotEnoughItems:2.2.7-GTNH:dev')
compile('com.github.GTNewHorizons:CodeChickenCore:1.1.4:dev')
diff --git a/src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java b/src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java
index e43dc8546b..bbb09b154c 100644
--- a/src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java
+++ b/src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java
@@ -633,6 +633,7 @@ public class GregtechPump extends Item implements ISpecialElectricItem, IElectri
}
if ((aID >= 0) && (aID < this.mItemAmount)) {
final ItemStack rStack = new ItemStack(this, 1, this.mOffset + aID);
+ GT_ModHandler.registerBoxableItemToToolBox(rStack);
this.mEnabledItems.set(aID);
this.mVisibleItems.set(aID);
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName(rStack) + ".name", aEnglish);