Attempt to allow the use of doubles for the biome size config option

This commit is contained in:
Adubbz 2013-09-14 16:55:32 +10:00
parent a9bc070e25
commit 37191471f7

View file

@ -304,7 +304,7 @@ public class BOPConfiguration
{
public static Configuration config;
public static int biomeSize;
public static double biomeSize;
public static boolean addToDefault;
public static boolean vanillaEnhanced;
public static boolean netherOverride;
@ -413,7 +413,7 @@ public class BOPConfiguration
{
config.load();
biomeSize = config.get("Biomes O\' Plenty World Type Settings", "Biome Size", 4, "Default World Type has 4. Large Biomes World Type has 6.").getInt();
biomeSize = config.get("Biomes O\' Plenty World Type Settings", "Biome Size", 4.0, "Default World Type has 4. Large Biomes World Type has 6.").getDouble(4.0);
addToDefault = config.get("Biome Settings", "Add Biomes To Default World", false).getBoolean(true);
vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false);
netherOverride = config.get("Dimension Settings", "Enable Nether Override", true).getBoolean(true);