(Player p)
| 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; |
nothing calls this directly
no test coverage detected