mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-31 17:27:44 +00:00
Language: make internal function not public
this is only used within the Language class anyway.
This commit is contained in:
parent
0d9952d53e
commit
58b46179f9
@ -144,7 +144,7 @@ class Language{
|
|||||||
*
|
*
|
||||||
* @return string|null
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function internalGet(string $id){
|
protected function internalGet(string $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