This commit is contained in:
tyuXX 2025-04-04 17:54:24 +03:00
parent 7d452469c4
commit 79e9cd65a5
36 changed files with 320 additions and 131 deletions

View file

@ -75,11 +75,11 @@ public class PlayerStats {
}
if (!hasExactStat("homes")) {
setStat("homes", new Gson().toJson(Map.of(
"home","0 100 0"
"home", "0 100 0"
)));
}
if(!hasExactStat("intelligence")){
setStat("intelligence", new Random().nextInt(0,100));
if (!hasExactStat("intelligence")) {
setStat("intelligence", new Random().nextInt(0, 100));
}
}