mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Revert "Patch %0 client translation exploit"
this bug was (FINALLY) fixed in 1.2.5.15 This reverts commit 378c3d7994b41849ba4d5608b0a9a5482e84cc25.
This commit is contained in:
parent
dea2942062
commit
372b97ba8f
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user