Added new functions to the Config class to allow for specification of comments when getting properties.

Added new getTerrainBlock whihc will limit the resuling ID to < 256, useful for world gen.
Calls to getBlock with IDs less then 256 will be assigned values above 256 {Thus freeing up terrain gen slots}
Made ConfigCategory implement Map<String, Propertery> should fix compatibility with most mods that broke two builds ago.
This commit is contained in:
LexManos committed 2012-11-27 02:06:29 -08:00
1 parent adc2d61feb
commit 81b5db6f37
4 files changed
+120 -27

No files matched your search

@@ -799,7 +799,6 @@ public class ForgeChunkManager
{
cfgFile = new File(configDir,"forgeChunkLoading.cfg");
config = new Configuration(cfgFile, true);
config.categories.clear();
try
{
config.load();