mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 07:39:57 +00:00
Correct Line Breaks
This commit is contained in:
parent
76fcad92b3
commit
c60e15a682
@ -182,7 +182,7 @@ class Config{
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function parseList($content){
|
private function parseList($content){
|
||||||
foreach(explode("\n", trim(str_replace("\r", "", $content))) as $v){
|
foreach(explode("\n", trim(str_replace("\r\n", "\n", $content))) as $v){
|
||||||
$v = trim($v);
|
$v = trim($v);
|
||||||
if($v == ""){
|
if($v == ""){
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user