Fix another NPE

This commit is contained in:
MistPhizzle 2014-06-28 18:16:36 -04:00
parent 3d4fe77ee9
commit abaa64ab02
3 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -19,14 +19,14 @@ public class ProjectKorra extends JavaPlugin {
public void onEnable() { public void onEnable() {
ProjectKorra.log = this.getLogger(); ProjectKorra.log = this.getLogger();
plugin = this; plugin = this;
new AbilityModuleManager(this);
new ConfigManager(this); new ConfigManager(this);
new Methods(this); new Methods(this);
new Commands(this); new Commands(this);
new AbilityModuleManager(this);
ConfigManager.configCheck();
DBConnection.host = getConfig().getString("Storage.MySQL.host"); DBConnection.host = getConfig().getString("Storage.MySQL.host");
DBConnection.port = getConfig().getInt("Storage.MySQL.port"); DBConnection.port = getConfig().getInt("Storage.MySQL.port");
DBConnection.pass = getConfig().getString("Storage.MySQL.pass"); DBConnection.pass = getConfig().getString("Storage.MySQL.pass");

View file

@ -1,6 +1,6 @@
name: ProjectKorra name: ProjectKorra
author: ProjectKorra author: ProjectKorra
version: 1.1.0 BETA 3 version: 1.1.0 BETA 4
main: com.projectkorra.ProjectKorra.ProjectKorra main: com.projectkorra.ProjectKorra.ProjectKorra
commands: commands:
projectkorra: projectkorra: