From e0dd1b740cd72035d496dac0a2cf784a5c51ea72 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 27 Oct 2017 21:35:09 +0200 Subject: [PATCH] A stupid mistake... --- src/Ad5001/GenPainterPE/generator/GenPainter.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Ad5001/GenPainterPE/generator/GenPainter.php b/src/Ad5001/GenPainterPE/generator/GenPainter.php index 498c539..65db9e4 100644 --- a/src/Ad5001/GenPainterPE/generator/GenPainter.php +++ b/src/Ad5001/GenPainterPE/generator/GenPainter.php @@ -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)]; } -} \ No newline at end of file +}