mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Merge branch 'PEMapModder-patch-12'
This commit is contained in:
commit
fb87165cd5
@ -61,13 +61,13 @@ class BaseLang{
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$t = explode("=", $line);
|
$t = explode("=", $line, 2);
|
||||||
if(count($t) < 2){
|
if(count($t) < 2){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$key = trim(array_shift($t));
|
$key = trim($t[0]);
|
||||||
$value = trim(implode("=", $t));
|
$value = trim($t[1]);
|
||||||
|
|
||||||
if($value === ""){
|
if($value === ""){
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user