mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
Fixes #497
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user