mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Move language submodule to resources/
again, this isn't source code.
This commit is contained in:
@ -35,7 +35,7 @@ class Language{
|
||||
*/
|
||||
public static function getLanguageList(string $path = "") : array{
|
||||
if($path === ""){
|
||||
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
||||
$path = \pocketmine\RESOURCE_PATH . "locale/";
|
||||
}
|
||||
|
||||
if(is_dir($path)){
|
||||
@ -82,7 +82,7 @@ class Language{
|
||||
$this->langName = strtolower($lang);
|
||||
|
||||
if($path === null){
|
||||
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
||||
$path = \pocketmine\RESOURCE_PATH . "locale/";
|
||||
}
|
||||
|
||||
$this->lang = self::loadLang($path, $this->langName);
|
||||
|
Submodule src/pocketmine/lang/locale deleted from e738dc7ca0
Reference in New Issue
Block a user