Update
This commit is contained in:
parent
7d452469c4
commit
79e9cd65a5
36 changed files with 320 additions and 131 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue