diff --git a/src/falkirks/minereset/listener/MineCreationSession.php b/src/falkirks/minereset/listener/MineCreationSession.php index 7dd7a41..4a8d3c7 100644 --- a/src/falkirks/minereset/listener/MineCreationSession.php +++ b/src/falkirks/minereset/listener/MineCreationSession.php @@ -115,7 +115,7 @@ public function generate(MineManager $owner): Mine{ $mine = new Mine($owner, new Vector3(min($this->pointA->getFloorX(), $this->pointB->getFloorX()), min($this->pointA->getFloorY(), $this->pointB->getFloorY()), min($this->pointA->getFloorZ(), $this->pointB->getFloorZ())), new Vector3(max($this->pointA->getFloorX(), $this->pointB->getFloorX()), max($this->pointA->getFloorY(), $this->pointB->getFloorY()), max($this->pointA->getFloorZ(), $this->pointB->getFloorZ())), - $this->level->getName(), + $this->level->getFolderName(), $this->name); $owner[$this->name] = $mine; return $mine; @@ -125,4 +125,4 @@ public function generate(MineManager $owner): Mine{ } } -} \ No newline at end of file +}