diff options
| author | Muramasa <haydenkilloh@gmail.com> | 2016-08-14 05:09:34 +0100 |
|---|---|---|
| committer | Muramasa <haydenkilloh@gmail.com> | 2016-08-14 05:09:34 +0100 |
| commit | b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7 (patch) | |
| tree | af8188eaef00e3e0e4a179d86207d0d8aaac5c73 /src/main/java/gregtech/common | |
| parent | 2bd06dc60e1db04bc9c672e0aa9769a12c289d8c (diff) | |
| download | GT5-Unofficial-b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7.tar.gz GT5-Unofficial-b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7.tar.bz2 GT5-Unofficial-b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7.zip | |
Bugfixes 4
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 | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java index 2030d12c94..c0b23df4b4 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 ((/*aDuration = */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 84e3ad9687..3a862fec35 100644 --- a/src/main/java/gregtech/common/GT_Worldgenerator.java +++ b/src/main/java/gregtech/common/GT_Worldgenerator.java @@ -107,9 +107,9 @@ 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;
- }
+ /*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);
|
