aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus
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 /src/main/java/gtPlusPlus
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)
Diffstat (limited to 'src/main/java/gtPlusPlus')
-rw-r--r--src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java1
1 files changed, 1 insertions, 0 deletions
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);