diff --git a/pom.xml b/pom.xml
index 34d18a309..4970666ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
UTF-8
PlotSquared
- 3.0.6
+ 3.0.7
PlotSquared
jar
diff --git a/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java b/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java
index 1fee50cb7..95ac37774 100644
--- a/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java
+++ b/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java
@@ -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;