mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-19 15:35:52 +00:00
Possible fix for #2424
This commit is contained in:
parent
d04af590d1
commit
3cf1692c96
@ -55,7 +55,7 @@ class InstallerLang{
|
||||
}else{
|
||||
$files = [];
|
||||
foreach(new \DirectoryIterator(\pocketmine\PATH . "src/pocketmine/lang/Installer/") as $file){
|
||||
if($file->getExtension() === "ini"){
|
||||
if($file->getExtension() === "ini" and substr($file->getFilename(), 0, 2) === $lang){
|
||||
$files[$file->getFilename()] = $file->getSize();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user