diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java b/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java index a2657a7..593cda0 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java @@ -97,14 +97,10 @@ public class Economy_Essentials implements Economy { @Override public boolean createPlayerAccount(String playerName) { - try { - com.earth2me.essentials.api.Economy.add(playerName, 0); - return true; - } catch (UserDoesNotExistException e1) { - return false; - } catch (NoLoanPermittedException e1) { + if (hasAccount(playerName)) { return false; } + return com.earth2me.essentials.api.Economy.createNPC(playerName); } @Override