Added checkstyle plugin

Moved resources to correct folder
Fixed and improved build information, no longer tracking build.properties
This commit is contained in:
JeromSar
2015-11-22 19:26:47 +01:00
parent 89a317b7df
commit a0058869c9
174 changed files with 1302 additions and 617 deletions

View File

@ -15,6 +15,7 @@ import org.bukkit.configuration.file.YamlConfiguration;
public class MainConfig
{
public static final File CONFIG_FILE = new File(TotalFreedomMod.plugin.getDataFolder(), TotalFreedomMod.CONFIG_FILENAME);
//
private static final EnumMap<ConfigEntry, Object> ENTRY_MAP;
@ -79,7 +80,8 @@ public class MainConfig
}
else
{
FLog.warning("Value for " + entry.getConfigName() + " is of type " + value.getClass().getSimpleName() + ". Needs to be " + entry.getType().getSimpleName() + ". Using default value.");
FLog.warning("Value for " + entry.getConfigName() + " is of type "
+ value.getClass().getSimpleName() + ". Needs to be " + entry.getType().getSimpleName() + ". Using default value.");
}
}
else
@ -274,6 +276,7 @@ public class MainConfig
public static class TFM_Defaults
{
private YamlConfiguration defaults = null;
private TFM_Defaults(InputStream defaultConfig)
@ -300,4 +303,5 @@ public class MainConfig
return defaults.get(path);
}
}
}