Improved Formatter for Dirty Codes

This commit is contained in:
Steffen Schröder committed 2013-12-30 14:09:58 +01:00
1 parent ee3c260563
commit fcef62b20a
2 files changed
+63 -211

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ class Player {
}
$this->pid = $rpcInfos['PlayerId'];
$this->login = $rpcInfos['Login'];
$this->nickname = Formatter::stripCodesWithoutColors($rpcInfos['NickName']); //TODO don't remove $s, $i
$this->nickname = Formatter::stripDirtyCodes($rpcInfos['NickName']);
$this->path = $rpcInfos['Path'];
$this->language = $rpcInfos['Language'];
$this->avatar = $rpcInfos['Avatar']['FileName'];