diff options
author | Muramasa <haydenkilloh@gmail.com> | 2016-08-14 07:34:36 +0100 |
---|---|---|
committer | Muramasa <haydenkilloh@gmail.com> | 2016-08-14 07:34:36 +0100 |
commit | 30b7a0d7e83791e7186ade912e6a6d9cf0e35696 (patch) | |
tree | ce49ea471d48d3b9cc58b7b2fe79b278e631b6d2 /src/main/java/gregtech/common | |
parent | 1abb196a2f9e6b69dd171b66410688c8e8d84a7d (diff) | |
download | GT5-Unofficial-30b7a0d7e83791e7186ade912e6a6d9cf0e35696.tar.gz GT5-Unofficial-30b7a0d7e83791e7186ade912e6a6d9cf0e35696.tar.bz2 GT5-Unofficial-30b7a0d7e83791e7186ade912e6a6d9cf0e35696.zip |
Bugfixes 4 fix: Remove commented code
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r-- | src/main/java/gregtech/common/GT_RecipeAdder.java | 2 | ||||
-rw-r--r-- | src/main/java/gregtech/common/GT_Worldgenerator.java | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java index c0b23df4b4..5b8ac5e7ce 100644 --- a/src/main/java/gregtech/common/GT_RecipeAdder.java +++ b/src/main/java/gregtech/common/GT_RecipeAdder.java @@ -142,7 +142,7 @@ public class GT_RecipeAdder if ((aInput1 == null) || (aOutput1 == null)) { return false; } - if ((/*aDuration = */GregTech_API.sRecipeFile.get("cnc", aOutput1, aDuration)) <= 0) { + if ((GregTech_API.sRecipeFile.get("cnc", aOutput1, aDuration)) <= 0) { return false; } return true; diff --git a/src/main/java/gregtech/common/GT_Worldgenerator.java b/src/main/java/gregtech/common/GT_Worldgenerator.java index 3a862fec35..aadbf31847 100644 --- a/src/main/java/gregtech/common/GT_Worldgenerator.java +++ b/src/main/java/gregtech/common/GT_Worldgenerator.java @@ -107,9 +107,6 @@ public class GT_Worldgenerator int j = 0;
for (int tZ = this.mZ - 16; j < 3; tZ += 16) {
String tBiome = this.mWorld.getBiomeGenForCoords(tX + 8, tZ + 8).biomeName;
- /*if (tBiome == null) {
- + tBiome = BiomeGenBase.plains.biomeName;//FindBugs: DLS - DLS_DEAD_LOCAL_STORE
- + }*/
for (GT_Worldgen tWorldGen : GregTech_API.sWorldgenList) {
try {
tWorldGen.executeWorldgen(this.mWorld, this.mRandom, this.mBiome, this.mDimensionType, tX, tZ, this.mChunkGenerator, this.mChunkProvider);
|