mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-14 12:57:55 +00:00
Merge pull request #231 from DotDashh/master
Remove useless 'plugin' field in ConfigManager.
This commit is contained in:
commit
8c2bcdc1d0
2 changed files with 2 additions and 4 deletions
|
@ -49,7 +49,7 @@ public class ProjectKorra extends JavaPlugin {
|
|||
catch (SecurityException | IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
new ConfigManager(this);
|
||||
new ConfigManager();
|
||||
new GeneralMethods(this);
|
||||
updater = new Updater(this, "http://projectkorra.com/forum/forums/dev-builds.16/index.rss");
|
||||
new Commands(this);
|
||||
|
|
|
@ -11,10 +11,8 @@ public class ConfigManager {
|
|||
|
||||
public static Config deathMsgConfig;
|
||||
public static Config defaultConfig;
|
||||
static ProjectKorra plugin;
|
||||
|
||||
public ConfigManager(ProjectKorra plugin) {
|
||||
ConfigManager.plugin = plugin;
|
||||
public ConfigManager() {
|
||||
deathMsgConfig = new Config(new File("deathmessages.yml"));
|
||||
defaultConfig = new Config(new File("config.yml"));
|
||||
configCheck(ConfigType.DEFAULT);
|
||||
|
|
Loading…
Reference in a new issue