This commit is contained in:
tyuXX 2025-06-04 21:07:55 +03:00
parent 0311b5af22
commit 79098e3e24
41 changed files with 318 additions and 42 deletions

View file

@ -33,6 +33,9 @@ public class PlayerTitleManager {
}
public static void checkForMoney(Player player) {
if(!PlayerStats.getPlayerStats(player).hasExactStat("money")){
return;
}
double money = (double) PlayerStats.getPlayerStats(player).getStat("money");
PlayerTitles playerTitles = PlayerTitles.getPlayerTitles(player);
if (money > 100000.0) {