mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 21:20:12 +00:00
getBiomesForType will cause the same problem
This commit is contained in:
1 parent
09dd117d1d
commit
4b2aca2124
1 file changed
+1
-1
@@ -98,7 +98,7 @@ public class BiomeDictionary
|
||||
{
|
||||
if(typeInfoList[type.ordinal()] != null)
|
||||
{
|
||||
return (BiomeGenBase[])typeInfoList[type.ordinal()].toArray();
|
||||
return (BiomeGenBase[])typeInfoList[type.ordinal()].toArray(new BiomeGenBase[0]);
|
||||
}
|
||||
|
||||
return new BiomeGenBase[0];
|
||||
|
||||
Reference in new issue
Block a user