mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-09-27 14:12:58 +02:00
Fix bug caused by some other plugins.
This commit is contained in:
parent
5702c1ed5c
commit
948e617d4e
@ -6,10 +6,10 @@
|
||||
<parent>
|
||||
<groupId>org.appledash</groupId>
|
||||
<artifactId>SaneEconomy</artifactId>
|
||||
<version>0.5.5-SNAPSHOT</version>
|
||||
<version>0.5.6-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>SaneEconomyCore</artifactId>
|
||||
<version>0.5.5-SNAPSHOT</version>
|
||||
<version>0.5.6-SNAPSHOT</version>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -51,6 +51,10 @@ public class EconomySaneEconomy implements Economy {
|
||||
|
||||
@Override
|
||||
public boolean hasAccount(String playerName) {
|
||||
if (Bukkit.getServer().getPlayer(playerName) == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return SaneEconomy.getInstance().getEconomyManager().accountExists(Bukkit.getServer().getPlayer(playerName));
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: SaneEconomy
|
||||
author: AppleDash
|
||||
main: org.appledash.saneeconomy.SaneEconomy
|
||||
version: 0.5.5
|
||||
version: 0.5.6
|
||||
softdepends: [Vault]
|
||||
commands:
|
||||
balance:
|
||||
|
Loading…
Reference in New Issue
Block a user