aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/nei
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/nei
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/nei')
-rw-r--r--src/main/java/gregtech/nei/NEI_GT_Config.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/gregtech/nei/NEI_GT_Config.java b/src/main/java/gregtech/nei/NEI_GT_Config.java
index 36db6879db..8f6c0385b9 100644
--- a/src/main/java/gregtech/nei/NEI_GT_Config.java
+++ b/src/main/java/gregtech/nei/NEI_GT_Config.java
@@ -2,6 +2,7 @@ package gregtech.nei;
import codechicken.nei.api.IConfigureNEI;
import cpw.mods.fml.common.FMLCommonHandler;
+import gregtech.api.enums.ItemList;
import gregtech.api.util.GT_Recipe;
public class NEI_GT_Config
@@ -16,8 +17,10 @@ public class NEI_GT_Config
new GT_NEI_DefaultHandler(tMap);
}
}
- if(FMLCommonHandler.instance().getEffectiveSide().isClient())
- ALH=new GT_NEI_AssLineHandler(GT_Recipe.GT_Recipe_Map.sAssemblylineVisualRecipes);
+ if(FMLCommonHandler.instance().getEffectiveSide().isClient()) {
+ ALH = new GT_NEI_AssLineHandler(GT_Recipe.GT_Recipe_Map.sAssemblylineVisualRecipes);
+ codechicken.nei.api.API.addItemListEntry(ItemList.VOLUMETRIC_FLASK.get(1));
+ }
sIsAdded = true;
}