Fix handling of unknown biomes (For Trees++)

This commit is contained in:
Mike Primm 2012-04-09 18:03:32 -05:00
parent 8546b2205e
commit 0707953718
2 changed files with 13 additions and 7 deletions

View file

@ -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++) {