mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Fix another NPE
This commit is contained in:
parent
3d4fe77ee9
commit
abaa64ab02
3 changed files with 5 additions and 5 deletions
Binary file not shown.
|
@ -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");
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue