MCPcopy Create free account
hub / github.com/ZetaMap/MoreCommands / changeRank

Method changeRank

src/main/java/manager/Rank.java:40–45  ·  view source on GitHub ↗
(String playerID, int level)

Source from the content-addressed store, hash-verified

38 }
39
40 public boolean changeRank(String playerID, int level) {
41 boolean found = this.players.remove(playerID);
42
43 if (found) get(level, true).players.add(playerID);
44 return found;
45 }
46
47
48 public static Seq<Rank> copy(boolean defaultRanks) {

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
removeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected