From b6427d22e45440a4d39f65ae5609b83791a9a8be Mon Sep 17 00:00:00 2001 From: mung3r Date: Mon, 26 Sep 2011 09:52:21 -0700 Subject: [PATCH] fixed a bug where accounts is not initialized for iCo6 --- src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java index cc04217..b399c0e 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java @@ -62,6 +62,7 @@ public class Economy_iConomy6 implements Economy { if (ec != null && ec.isEnabled() && ec.getClass().getName().equals("com.iCo6.iConomy")) { economy.economy = (iConomy) ec; + accounts = new Accounts(); log.info(String.format("[%s][Economy] %s hooked.", plugin.getDescription().getName(), economy.name)); } }