mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Fixes #497
This commit is contained in:
parent
0b1dbea985
commit
b0859b250a
2
pom.xml
2
pom.xml
@ -8,7 +8,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<artifactId>PlotSquared</artifactId>
|
<artifactId>PlotSquared</artifactId>
|
||||||
<version>3.0.6</version>
|
<version>3.0.7</version>
|
||||||
<name>PlotSquared</name>
|
<name>PlotSquared</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
@ -48,7 +48,7 @@ public class BukkitEconHandler extends EconHandler {
|
|||||||
@Override
|
@Override
|
||||||
public double getMoney(PlotPlayer player) {
|
public double getMoney(PlotPlayer player) {
|
||||||
double bal = super.getMoney(player);
|
double bal = super.getMoney(player);
|
||||||
if (bal == Double.NaN) {
|
if (Double.isNaN(bal)) {
|
||||||
return econ.getBalance(player.getName());
|
return econ.getBalance(player.getName());
|
||||||
}
|
}
|
||||||
return bal;
|
return bal;
|
||||||
|
Loading…
Reference in New Issue
Block a user