From 512183a720a4a36c1a1fa8b597c99a65ff8d7389 Mon Sep 17 00:00:00 2001 From: Acrobot Date: Sun, 16 Dec 2012 21:14:06 +0100 Subject: [PATCH] Fixed NPE in BOSEconomy --- com/nijikokun/register/payment/forChestShop/methods/BOSE7.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/nijikokun/register/payment/forChestShop/methods/BOSE7.java b/com/nijikokun/register/payment/forChestShop/methods/BOSE7.java index aa586c8..c59a3df 100644 --- a/com/nijikokun/register/payment/forChestShop/methods/BOSE7.java +++ b/com/nijikokun/register/payment/forChestShop/methods/BOSE7.java @@ -75,7 +75,7 @@ public class BOSE7 implements Method { public MethodAccount getAccount(String name) { if (!hasAccount(name)) - return null; + createAccount(name); return new BOSEAccount(name, this.BOSEconomy); }