From 37191471f712c1f9ed05140c6f42a4a2eb200d1b Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 14 Sep 2013 16:55:32 +1000 Subject: [PATCH] Attempt to allow the use of doubles for the biome size config option --- common/biomesoplenty/configuration/BOPConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/biomesoplenty/configuration/BOPConfiguration.java b/common/biomesoplenty/configuration/BOPConfiguration.java index 2a593ff84..2f301d191 100644 --- a/common/biomesoplenty/configuration/BOPConfiguration.java +++ b/common/biomesoplenty/configuration/BOPConfiguration.java @@ -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);