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;
}
$t = explode("=", $line);
$t = explode("=", $line, 2);
if(count($t) < 2){
continue;
}
$key = trim(array_shift($t));
$value = trim(implode("=", $t));
$key = trim($t[0]);
$value = trim($t[1]);
if($value === ""){
continue;