From 94210358c4be9f6fe60acb26b2bbdffe94b13704 Mon Sep 17 00:00:00 2001 From: many1337 <31310430+many1337@users.noreply.github.com> Date: Tue, 11 Feb 2020 20:13:30 +0100 Subject: [PATCH] getSpawn() fix lmao --- src/CortexPE/block/Portal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);