diff --git a/src/world/format/io/FormatConverter.php b/src/world/format/io/FormatConverter.php index d60be76b0..9accebbe5 100644 --- a/src/world/format/io/FormatConverter.php +++ b/src/world/format/io/FormatConverter.php @@ -96,7 +96,7 @@ class FormatConverter{ $this->logger->info("Generating new world"); $data = $this->oldProvider->getWorldData(); - $convertedOutput = rtrim($this->oldProvider->getPath(), "/\\") . "_converted" . DIRECTORY_SEPARATOR; + $convertedOutput = rtrim($this->oldProvider->getPath(), "/" . DIRECTORY_SEPARATOR) . "_converted" . DIRECTORY_SEPARATOR; if(file_exists($convertedOutput)){ $this->logger->info("Found previous conversion attempt, deleting..."); Filesystem::recursiveUnlink($convertedOutput);