fixed a bug where accounts is not initialized for iCo6

This commit is contained in:
mung3r 2011-09-26 09:52:21 -07:00
parent 654908c1bb
commit b6427d22e4
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}
}