mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
populate missing array value types in lang namespace
This commit is contained in:
parent
3b9a5c5ccc
commit
8bf469f7fc
@ -43,6 +43,9 @@ class BaseLang{
|
|||||||
|
|
||||||
public const FALLBACK_LANGUAGE = "eng";
|
public const FALLBACK_LANGUAGE = "eng";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string[]
|
||||||
|
*/
|
||||||
public static function getLanguageList(string $path = "") : array{
|
public static function getLanguageList(string $path = "") : array{
|
||||||
if($path === ""){
|
if($path === ""){
|
||||||
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user