mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Fixed BaseLang->get()
This commit is contained in:
parent
ba226d03c3
commit
05a9ad57bd
@ -121,7 +121,6 @@ class BaseLang{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function get($id){
|
public function get($id){
|
||||||
$id = trim($id, "%");
|
|
||||||
if(isset($this->lang[$id])){
|
if(isset($this->lang[$id])){
|
||||||
return $this->lang[$id];
|
return $this->lang[$id];
|
||||||
}elseif(isset($this->fallbackLang[$id])){
|
}elseif(isset($this->fallbackLang[$id])){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user