TCheckpoint

This commit is contained in:
tyuXX 2025-07-04 22:29:56 +03:00
parent e8c9fd3456
commit a461a669ed
104 changed files with 822 additions and 234 deletions

View file

@ -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;
}