Fix a vanilla bug related to certian seeds and stronholds.
This commit is contained in:
parent
f9ea207cdc
commit
d7adac4508
1 changed files with 9 additions and 0 deletions
|
@ -30,3 +30,12 @@
|
|||
}
|
||||
|
||||
public WorldChunkManager(long par1, WorldType par3WorldType)
|
||||
@@ -236,7 +233,7 @@
|
||||
ChunkPosition var13 = null;
|
||||
int var14 = 0;
|
||||
|
||||
- for (int var15 = 0; var15 < var12.length; ++var15)
|
||||
+ for (int var15 = 0; var15 < var10 * var11; ++var15) //Vanilla Bug-Fix, AIOOB -1 when cant find biome
|
||||
{
|
||||
int var16 = var6 + var15 % var10 << 2;
|
||||
int var17 = var7 + var15 / var10 << 2;
|
||||
|
|
Loading…
Reference in a new issue