aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/gregtech/api/enums/GT_Values.java1
-rw-r--r--src/main/java/gregtech/common/GT_Client.java12
-rw-r--r--src/main/java/gregtech/common/GT_RecipeAdder.java4
-rw-r--r--src/main/java/gregtech/loaders/preload/GT_PreLoad.java3
4 files changed, 4 insertions, 16 deletions
diff --git a/src/main/java/gregtech/api/enums/GT_Values.java b/src/main/java/gregtech/api/enums/GT_Values.java
index 4b170ebf63..99b49d1c78 100644
--- a/src/main/java/gregtech/api/enums/GT_Values.java
+++ b/src/main/java/gregtech/api/enums/GT_Values.java
@@ -454,7 +454,6 @@ public class GT_Values {
public static final Set<String> mCTMEnabledBlock = new HashSet<>();
public static final Set<String> mCTMDisabledBlock = new HashSet<>();
- public static boolean hideAssLineRecipes = false;
public static boolean updateFluidDisplayItems = true;
public static final int STEAM_PER_WATER = 160;
/**
diff --git a/src/main/java/gregtech/common/GT_Client.java b/src/main/java/gregtech/common/GT_Client.java
index 5571826a09..04d02cbbcb 100644
--- a/src/main/java/gregtech/common/GT_Client.java
+++ b/src/main/java/gregtech/common/GT_Client.java
@@ -19,7 +19,6 @@ import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent;
-import gregtech.GT_Mod;
import gregtech.api.GregTech_API;
import gregtech.api.enums.*;
import gregtech.api.interfaces.IHasFluidDisplayItem;
@@ -62,7 +61,6 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
-import net.minecraft.stats.StatFileWriter;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.ChunkCoordIntPair;
@@ -690,14 +688,8 @@ public class GT_Client extends GT_Proxy implements Runnable {
afterSomeTime++;
if (afterSomeTime >= 100L) {
afterSomeTime = 0;
- StatFileWriter sfw = Minecraft.getMinecraft().thePlayer.getStatFileWriter();
- try {
- for (GT_Recipe recipe : GT_Recipe.GT_Recipe_Map.sAssemblylineVisualRecipes.mRecipeList) {
- recipe.mHidden = GT_Values.hideAssLineRecipes
- && !sfw.hasAchievementUnlocked(GT_Mod.achievements.getAchievement(
- recipe.getOutput(0).getUnlocalizedName()));
- }
- } catch (Exception ignored) {
+ for (GT_Recipe recipe : GT_Recipe.GT_Recipe_Map.sAssemblylineVisualRecipes.mRecipeList) {
+ recipe.mHidden = false;
}
}
for (Iterator<Map.Entry<GT_PlayedSound, Integer>> iterator =
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java
index f5a783de65..488ac0a5fb 100644
--- a/src/main/java/gregtech/common/GT_RecipeAdder.java
+++ b/src/main/java/gregtech/common/GT_RecipeAdder.java
@@ -3118,7 +3118,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
aDuration,
aEUt,
0,
- true);
+ false);
GT_Recipe_AssemblyLine tRecipe = new GT_Recipe_AssemblyLine(
aResearchItem, aResearchTime, aInputs, aFluidInputs, aOutput, aDuration, aEUt);
GT_Recipe.GT_Recipe_AssemblyLine.sAssemblylineRecipes.add(tRecipe);
@@ -3228,7 +3228,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
aEUt,
0,
tAlts,
- true);
+ false);
GT_Recipe_AssemblyLine tRecipe = new GT_Recipe_AssemblyLine(
aResearchItem, aResearchTime, tInputs, aFluidInputs, aOutput, aDuration, aEUt, tAlts);
tRecipe.setPersistentHash(tPersistentHash);
diff --git a/src/main/java/gregtech/loaders/preload/GT_PreLoad.java b/src/main/java/gregtech/loaders/preload/GT_PreLoad.java
index d6818d1ac5..e651b8122d 100644
--- a/src/main/java/gregtech/loaders/preload/GT_PreLoad.java
+++ b/src/main/java/gregtech/loaders/preload/GT_PreLoad.java
@@ -470,9 +470,6 @@ public class GT_PreLoad {
public static void loadConfig(Configuration tMainConfig) {
GT_Values.D1 = tMainConfig.get(GT_Mod.aTextGeneral, "Debug", false).getBoolean(false);
GT_Values.D2 = tMainConfig.get(GT_Mod.aTextGeneral, "Debug2", false).getBoolean(false);
- GT_Values.hideAssLineRecipes = tMainConfig
- .get(GT_Mod.aTextGeneral, "hide assline recipes", false)
- .getBoolean(false);
GT_Values.updateFluidDisplayItems = tMainConfig
.get(GT_Mod.aTextGeneral, "update fluid display items", true)
.getBoolean(true);