Fixed NPE in BOSEconomy

This commit is contained in:
Acrobot 2012-12-16 21:14:06 +01:00
parent 7d377bb068
commit 512183a720

View File

@ -75,7 +75,7 @@ public class BOSE7 implements Method {
public MethodAccount getAccount(String name) { public MethodAccount getAccount(String name) {
if (!hasAccount(name)) if (!hasAccount(name))
return null; createAccount(name);
return new BOSEAccount(name, this.BOSEconomy); return new BOSEAccount(name, this.BOSEconomy);
} }