mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-12 10:00:36 +01:00
Fixed NPE in BOSEconomy
This commit is contained in:
parent
7d377bb068
commit
512183a720
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user