From 64f3285a245d4892655c41a0a0540e64ab07c0c0 Mon Sep 17 00:00:00 2001 From: miozune Date: Sat, 16 Apr 2022 20:57:50 +0900 Subject: Allow Hand Pumps to be inserted into Toolbox (#174) --- dependencies.gradle | 2 +- src/main/java/gtPlusPlus/core/item/tool/misc/GregtechPump.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); -- cgit