From 36a5039c12eea0ee06db35682f98f77edb08285e Mon Sep 17 00:00:00 2001 From: bm01 Date: Thu, 26 Apr 2012 00:54:08 +0200 Subject: [PATCH] Fixed NPE at startup --- src/main/java/com/gmail/nossr50/mcMMO.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 899cbdacc..419c8ec9b 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -99,8 +99,7 @@ public class mcMMO extends JavaPlugin { this.config2 = new LoadTreasures(this); this.config2.load(); - Party.getInstance().loadParties(); - new Party(this); + new Party(this).loadParties(); if (!LoadProperties.useMySQL) { Users.loadUsers();