diff options
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/helpers/treefarm/TreeGenerator.java | 3 |
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; } |