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

Method TempData

src/main/java/data/TempData.java:29–38  ·  view source on GitHub ↗
(Player p)

Source from the content-addressed store, hash-verified

27 public boolean votedVNW = false, votedRTV = false, rainbowed = false, hasEffect = false, isMuted = false, inGodmode = false, isCreator;
28
29 private TempData(Player p) {
30 this.player = p;
31 this.lastUnit = p.unit();
32 this.locale = Locale.forLanguageTag(p.locale().replace('_', '-'));
33 this.realName = p.name;
34 this.noColorName = Strings.stripColors(p.name).strip();
35 this.stripedName = Strings.stripGlyphs(this.noColorName).strip();
36 this.nameColor = "[#" + this.player.color.toString() + "]";
37 this.isCreator = p.uuid().equals(creatorID);
38 }
39
40 public boolean spectate() {
41 return this.spectate != null;

Callers

nothing calls this directly

Calls 1

stripGlyphsMethod · 0.95

Tested by

no test coverage detected