Get Forge 1.18 working
This commit is contained in:
parent
98cfe350d5
commit
ebdab5e706
3 changed files with 106 additions and 4 deletions
|
|
@ -327,7 +327,10 @@ public class MapChunkCache118 extends AbstractMapChunkCache {
|
|||
int b = bdata != null ? bdata.a(j) : 0;
|
||||
cursect.biomes[j] = b < bpalette.size() ? BiomeMap.byBiomeName(bpalette.j(b)).getBiomeID() : -1;
|
||||
}
|
||||
lastsectwithbiome = cursect;
|
||||
// Favor the Y=64 version
|
||||
if ((secnum == 4) || (lastsectwithbiome == null)) {
|
||||
lastsectwithbiome = cursect;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Get biome data */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue