aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-04-24 18:52:36 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-04-24 18:52:36 +1000
commitfa9eef605bdf6017cc09f603f7e7f9582a76d69a (patch)
tree1451da64978b466e6fd6baba6592f95f2b42645e /src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm
parent4598fe2f6d5055bb8eb10075dfb3e5648bc4da0b (diff)
downloadGT5-Unofficial-fa9eef605bdf6017cc09f603f7e7f9582a76d69a.tar.gz
GT5-Unofficial-fa9eef605bdf6017cc09f603f7e7f9582a76d69a.tar.bz2
GT5-Unofficial-fa9eef605bdf6017cc09f603f7e7f9582a76d69a.zip
$ More Adjustments to the Client Proxy ASM Patch.
% Adjusted some Tree Farm code.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm/TreeGenerator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm/TreeGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm/TreeGenerator.java
index c9f2d493ab..a8603849b8 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm/TreeGenerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm/TreeGenerator.java
@@ -133,7 +133,8 @@ public class TreeGenerator {
public FakeWorld getWorld() {
FakeWorld aWorld = this.mFakeWorld.get(mCurrentGeneratorIteration);
if (aWorld == null) {
- aWorld = (this.mFakeWorld.set(mCurrentGeneratorIteration, new FakeWorld(200)));
+ this.mFakeWorld.set(mCurrentGeneratorIteration, new FakeWorld(200));
+ aWorld = this.mFakeWorld.get(mCurrentGeneratorIteration);
}
return aWorld;
}