TCheckpoint
This commit is contained in:
parent
e8c9fd3456
commit
a461a669ed
104 changed files with 822 additions and 234 deletions
|
|
@ -23,7 +23,7 @@ public class SendMoney implements CommandExecutor {
|
|||
return false;
|
||||
}
|
||||
PlayerStats sending = PlayerStats.getPlayerStats((Player) sender);
|
||||
if ((Double) sending.getStat("money") < Double.parseDouble(args[1])) {
|
||||
if (sending.getStat("money", Double.class) < Double.parseDouble(args[1])) {
|
||||
sender.sendMessage("You do not have enough money.");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue