Attempt to allow the use of doubles for the biome size config option
This commit is contained in:
parent
a9bc070e25
commit
37191471f7
|
@ -304,7 +304,7 @@ public class BOPConfiguration
|
||||||
{
|
{
|
||||||
public static Configuration config;
|
public static Configuration config;
|
||||||
|
|
||||||
public static int biomeSize;
|
public static double biomeSize;
|
||||||
public static boolean addToDefault;
|
public static boolean addToDefault;
|
||||||
public static boolean vanillaEnhanced;
|
public static boolean vanillaEnhanced;
|
||||||
public static boolean netherOverride;
|
public static boolean netherOverride;
|
||||||
|
@ -413,7 +413,7 @@ public class BOPConfiguration
|
||||||
{
|
{
|
||||||
config.load();
|
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);
|
addToDefault = config.get("Biome Settings", "Add Biomes To Default World", false).getBoolean(true);
|
||||||
vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false);
|
vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false);
|
||||||
netherOverride = config.get("Dimension Settings", "Enable Nether Override", true).getBoolean(true);
|
netherOverride = config.get("Dimension Settings", "Enable Nether Override", true).getBoolean(true);
|
||||||
|
|
Loading…
Reference in New Issue