diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-12-09 14:02:50 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-12-09 14:02:50 +0100 |
commit | 2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9 (patch) | |
tree | f03ae3d61f5a9ee4aeccd6ce4149f8192059b4cc | |
parent | Merge pull request #2706 from Gargaj/deadcreeper (diff) | |
parent | Fixed opposite condition in OreNests finisher. (diff) | |
download | cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.tar cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.tar.gz cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.tar.bz2 cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.tar.lz cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.tar.xz cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.tar.zst cuberite-2b2e0f3b2c2e0f1b813caf7a7b769461001e0ec9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/FinishGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 27ff6255f..f3a62e8e3 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -1585,7 +1585,7 @@ void cFinishGenOreNests::GenerateOre( for (int x = xsize; x >= 0; --x) { int BlockX = BaseX + x; - if (cChunkDef::IsValidWidth(BlockX)) + if (!cChunkDef::IsValidWidth(BlockX)) { Num++; // So that the cycle finishes even if the base coords wander away from the chunk continue; @@ -1601,7 +1601,7 @@ void cFinishGenOreNests::GenerateOre( for (int z = zsize; z >= 0; --z) { int BlockZ = BaseZ + z; - if (cChunkDef::IsValidWidth(BlockZ)) + if (!cChunkDef::IsValidWidth(BlockZ)) { Num++; // So that the cycle finishes even if the base coords wander away from the chunk continue; |