mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Use BiomeGenBase's array size instead of hardcoding it in BiomeDictionary. Closes #871
This commit is contained in:
1 parent
5f62afb5f2
commit
14b9d639a2
1 file changed
+1
-1
@@ -29,7 +29,7 @@ public class BiomeDictionary
|
||||
MAGICAL;
|
||||
}
|
||||
|
||||
private static final int BIOME_LIST_SIZE = 256;
|
||||
private static final int BIOME_LIST_SIZE = BiomeGenBase.getBiomeGenArray().length;
|
||||
private static BiomeInfo[] biomeList = new BiomeInfo[BIOME_LIST_SIZE];
|
||||
@SuppressWarnings("unchecked")
|
||||
private static ArrayList<BiomeGenBase>[] typeInfoList = new ArrayList[Type.values().length];
|
||||
|
||||
Reference in new issue
Block a user