From 500f7b33cb3d428d9abf8d4fda8a91886ef86620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Fri, 11 Nov 2022 23:23:02 +0100 Subject: [PATCH] Use new method for island spawn teleport --- .../wtf/beatrice/limbomanager/listeners/PlayerTeleporter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/wtf/beatrice/limbomanager/listeners/PlayerTeleporter.java b/src/main/java/wtf/beatrice/limbomanager/listeners/PlayerTeleporter.java index 8f37e13..455b22d 100644 --- a/src/main/java/wtf/beatrice/limbomanager/listeners/PlayerTeleporter.java +++ b/src/main/java/wtf/beatrice/limbomanager/listeners/PlayerTeleporter.java @@ -77,8 +77,7 @@ public class PlayerTeleporter implements Listener } - islandLocation.setY(islandLocation.getY() + 20); - player.teleport(islandLocation); + Cache.teleportToOwnIsland(player); }