Skip to content

Commit

Permalink
fix that
Browse files Browse the repository at this point in the history
  • Loading branch information
Plancke committed Dec 29, 2016
1 parent e4da0b7 commit 5f5faf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/responses/player/Rank.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function isStaff() {
}

public function getPrefix(Player $player) {
if ($this->name == 'MVP_PLUS' && $player->get("rankPlusColor") != null) {
if ($this->id == RankTypes::MVP_PLUS && $player->get("rankPlusColor") != null) {
return '§b[MVP' . Utilities::MC_COLORNAME[$player->get("rankPlusColor")] . '+§b]';
}
return isset($this->options['prefix']) ? $this->options['prefix'] : null;
Expand Down

0 comments on commit 5f5faf9

Please sign in to comment.