- Fixed client crash bug in add/remove Biome functionality. Arrays.asList() returns a fixed-sized list per java spec. Adding and removing biomes throws UnsupportedOperationException.

- Fixed same on server and added disabled removeBiome functionality. This touched a lot of classes as the nonWorking removeBiome seemed to be lots of places inconsistent with addBiome.
This commit is contained in:
Scott Killen committed 2012-06-09 07:59:35 -04:00
1 parent bc72bf11ee
commit abcb583dd0
7 files changed
+47 -33

No files matched your search

+1 -1
View File
@@ -591,7 +591,7 @@ public class ModLoader
*/
public static void removeBiome(BiomeGenBase biome)
{
FMLRegistry.removeBiome(biome);
FMLServerHandler.instance().removeBiomeFromDefaultWorldGenerator(biome);
}
/**