mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
Revert "Patch %0 client translation exploit"
this bug was (FINALLY) fixed in 1.2.5.15
This reverts commit 378c3d7994
.
This commit is contained in:
@ -117,7 +117,7 @@ class BaseLang{
|
||||
$baseText = str_replace("{%$i}", $this->parseTranslation((string) $p), $baseText, $onlyPrefix);
|
||||
}
|
||||
|
||||
return str_replace("%0", "", $baseText); //fixes a client bug where %0 in translation will cause freeze
|
||||
return $baseText;
|
||||
}
|
||||
|
||||
public function translate(TextContainer $c){
|
||||
|
Reference in New Issue
Block a user