mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Config: drop packing of arrays
we don't handle arrays on decode, so there's no reason to support them on encode either.
This commit is contained in:
parent
32fd9879e5
commit
1be9b2f037
@ -529,8 +529,6 @@ class Config{
|
||||
foreach($this->config as $k => $v){
|
||||
if(is_bool($v)){
|
||||
$v = $v ? "on" : "off";
|
||||
}elseif(is_array($v)){
|
||||
$v = implode(";", $v);
|
||||
}
|
||||
$content .= $k . "=" . $v . "\r\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user