mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-15 21:29:05 +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) {
|
catch (SecurityException | IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
new ConfigManager(this);
|
new ConfigManager();
|
||||||
new GeneralMethods(this);
|
new GeneralMethods(this);
|
||||||
updater = new Updater(this, "http://projectkorra.com/forum/forums/dev-builds.16/index.rss");
|
updater = new Updater(this, "http://projectkorra.com/forum/forums/dev-builds.16/index.rss");
|
||||||
new Commands(this);
|
new Commands(this);
|
||||||
|
|
|
@ -11,10 +11,8 @@ public class ConfigManager {
|
||||||
|
|
||||||
public static Config deathMsgConfig;
|
public static Config deathMsgConfig;
|
||||||
public static Config defaultConfig;
|
public static Config defaultConfig;
|
||||||
static ProjectKorra plugin;
|
|
||||||
|
|
||||||
public ConfigManager(ProjectKorra plugin) {
|
public ConfigManager() {
|
||||||
ConfigManager.plugin = plugin;
|
|
||||||
deathMsgConfig = new Config(new File("deathmessages.yml"));
|
deathMsgConfig = new Config(new File("deathmessages.yml"));
|
||||||
defaultConfig = new Config(new File("config.yml"));
|
defaultConfig = new Config(new File("config.yml"));
|
||||||
configCheck(ConfigType.DEFAULT);
|
configCheck(ConfigType.DEFAULT);
|
||||||
|
|
Loading…
Reference in a new issue