Fix handling of unknown biomes (For Trees++)
This commit is contained in:
parent
8546b2205e
commit
0707953718
2 changed files with 13 additions and 7 deletions
|
|
@ -1060,6 +1060,9 @@ public class NewMapChunkCache implements MapChunkCache {
|
|||
Biome[] b = Biome.values();
|
||||
BiomeMap[] bm = BiomeMap.values();
|
||||
biome_to_bmap = new BiomeMap[b.length];
|
||||
for(int i = 0; i < b.length; i++) {
|
||||
biome_to_bmap[i] = BiomeMap.NULL;
|
||||
}
|
||||
for(int i = 0; i < b.length; i++) {
|
||||
String bs = b[i].toString();
|
||||
for(int j = 0; j < bm.length; j++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue