mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 20:42:55 +00:00
Fixes #497
This commit is contained in:
parent
0b1dbea985
commit
b0859b250a
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue