A stupid mistake...

This commit is contained in:
Ad5001 2017-10-27 21:35:09 +02:00
부모 f3c32d21d4
커밋 e0dd1b740c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -127,7 +127,6 @@ class GenPainter extends Generator{
$data = array_merge($data, $config);
unset($data["heightmap_name"]);
file_put_contents($this->worldpath . "gendata/geninfos.json", json_encode($data));
if($this->getServer()->getPluginManager()->getPlugin("PSMCore") !== null) \Ad5001\PSMCore\API::displayNotification("GenPainter", "Generating world " . $level->getName() . "...");
}
// Adding symlink to get path later.
if(file_exists(getcwd() . "/plugins/GenPainterPE/tmp/" . $this->genid)) unlink(getcwd() . "/plugins/GenPainterPE/tmp/" . $this->genid);
@ -432,4 +431,4 @@ class GenPainter extends Generator{
if(count($found) == 0) return $spawn;
return $found[mt_rand(0, count($found) - 1)];
}
}
}