aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2020-10-25 03:38:00 +0800
committerGlease <4586901+Glease@users.noreply.github.com>2020-10-25 03:38:00 +0800
commit153ee9bf191586265d846c8f224e64f5fae0a18b (patch)
tree8d1464f9a710b95f26ab7d451d9d5c24ecb8fe69 /src/main/java/gregtech/common
parent87abc3b419dfe42fb1c0cf943deaeb2e3037e19c (diff)
downloadGT5-Unofficial-153ee9bf191586265d846c8f224e64f5fae0a18b.tar.gz
GT5-Unofficial-153ee9bf191586265d846c8f224e64f5fae0a18b.tar.bz2
GT5-Unofficial-153ee9bf191586265d846c8f224e64f5fae0a18b.zip
Move the hide to proper place & use proper api
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/items/GT_VolumetricFlask.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/gregtech/common/items/GT_VolumetricFlask.java b/src/main/java/gregtech/common/items/GT_VolumetricFlask.java
index 8fe075ad58..a7bd63f0a6 100644
--- a/src/main/java/gregtech/common/items/GT_VolumetricFlask.java
+++ b/src/main/java/gregtech/common/items/GT_VolumetricFlask.java
@@ -43,16 +43,6 @@ public class GT_VolumetricFlask extends GT_Generic_Item implements IFluidContain
unlocalFlaskName = unlocalized;
setMaxStackSize(16);
setNoRepair();
- if (Loader.isModLoaded("NotEnoughItems")) {
- hideItemInNEI();
- }
- }
-
- @Optional.Method(modid = "NotEnoughItems")
- private void hideItemInNEI() {
- codechicken.nei.api.API.addItemFilter(
- () -> aStack -> aStack.getItem() == this && this.getFluid(aStack) != null
- );
}
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {