This commit is contained in:
boy0001 2015-08-03 21:18:35 +10:00
parent 0b1dbea985
commit b0859b250a
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<artifactId>PlotSquared</artifactId>
<version>3.0.6</version>
<version>3.0.7</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -48,7 +48,7 @@ public class BukkitEconHandler extends EconHandler {
@Override
public double getMoney(PlotPlayer player) {
double bal = super.getMoney(player);
if (bal == Double.NaN) {
if (Double.isNaN(bal)) {
return econ.getBalance(player.getName());
}
return bal;