Shut people up about moss conflict

This commit is contained in:
Adubbz G 2013-06-14 22:44:31 +10:00
parent c47aabe912
commit 831981ee85

View file

@ -3,7 +3,11 @@ package biomesoplenty.configuration;
import java.io.File; import java.io.File;
import java.util.logging.Level; import java.util.logging.Level;
import biomesoplenty.BiomesOPlenty;
import net.minecraftforge.common.Configuration; import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.Property;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.FMLLog; import cpw.mods.fml.common.FMLLog;
public class BOPConfiguration { public class BOPConfiguration {
@ -453,6 +457,8 @@ public class BOPConfiguration {
public static boolean swamplandVillage; public static boolean swamplandVillage;
public static boolean jungleVillage; public static boolean jungleVillage;
public static Property seenVersion;
public static void init(File configFile) public static void init(File configFile)
{ {
config = new Configuration(configFile); config = new Configuration(configFile);
@ -706,7 +712,7 @@ public class BOPConfiguration {
ivyID = config.getBlock("Ivy ID", 1943, null).getInt(); ivyID = config.getBlock("Ivy ID", 1943, null).getInt();
mossID = config.getBlock("Moss ID", 391, null).getInt(); mossID = config.getBlock("Moss ID", 1944, null).getInt();
planksID = config.getBlock("Planks ID", 1947, null).getInt(); planksID = config.getBlock("Planks ID", 1947, null).getInt();
@ -807,7 +813,7 @@ public class BOPConfiguration {
entityDartID = config.get("Entity IDs", "Dart ID", 104, null).getInt();; entityDartID = config.get("Entity IDs", "Dart ID", 104, null).getInt();;
entityPoisonDartID = config.get("Entity IDs", "Poison Dart ID", 105, null).getInt();; entityPoisonDartID = config.get("Entity IDs", "Poison Dart ID", 105, null).getInt();;
System.out.println("Generating Biome ID's"); FMLCommonHandler.instance().getFMLLogger().log(Level.INFO, "[BiomesOPlenty] Generating Biome ID's");
//23-79 ExtraBiomesXL //23-79 ExtraBiomesXL
@ -918,7 +924,9 @@ public class BOPConfiguration {
extremeHillsNewID = config.get("Biome IDs", "Extreme Hills (New) ID", 253).getInt(); extremeHillsNewID = config.get("Biome IDs", "Extreme Hills (New) ID", 253).getInt();
jungleNewID = config.get("Biome IDs", "Jungle (New) ID", 254).getInt(); jungleNewID = config.get("Biome IDs", "Jungle (New) ID", 254).getInt();
System.out.println("[BiomesOPlenty] Generated Config!"); seenVersion = config.get("Vars", "Seen Version", "null");
FMLCommonHandler.instance().getFMLLogger().log(Level.INFO, "[BiomesOPlenty] Generated Config!");
} }
catch (Exception e) catch (Exception e)
{ {