Fixed NPE at startup

This commit is contained in:
bm01 2012-04-26 00:54:08 +02:00
parent ac075c5bae
commit 36a5039c12

View File

@ -99,8 +99,7 @@ public class mcMMO extends JavaPlugin {
this.config2 = new LoadTreasures(this); this.config2 = new LoadTreasures(this);
this.config2.load(); this.config2.load();
Party.getInstance().loadParties(); new Party(this).loadParties();
new Party(this);
if (!LoadProperties.useMySQL) { if (!LoadProperties.useMySQL) {
Users.loadUsers(); Users.loadUsers();