Merge branch 'patch-12' of https://github.com/PEMapModder/PocketMine-MP into PEMapModder-patch-12

This commit is contained in:
Intyre 2015-12-20 00:40:52 +01:00
commit 9f481fbdbe
No known key found for this signature in database
GPG Key ID: B06D41D26935005A

View File

@ -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;