diff --git a/src/CortexPE/block/Portal.php b/src/CortexPE/block/Portal.php index ff5def3e..9236b85c 100644 --- a/src/CortexPE/block/Portal.php +++ b/src/CortexPE/block/Portal.php @@ -179,7 +179,7 @@ public function onEntityCollide(Entity $entity): void{ if($entity->getLevel()->getName() != Main::$netherName){ // OVERWORLD -> NETHER $gm = $entity->getGamemode(); - $posNether = Main::$netherLevel->getSafeSpawn(); + $posNether = Main::$netherLevel->getSpawnLocation(); if(Main::$vanillaNetherTransfer){ //imperfect $x = (int)ceil($entity->getX() / 8); $y = (int)ceil($entity->getY() / 8);