diff --git a/spigot/src/main/java/com/sekwah/advancedportals/spigot/connector/container/SpigotPlayerContainer.java b/spigot/src/main/java/com/sekwah/advancedportals/spigot/connector/container/SpigotPlayerContainer.java index 51fe077c..34bf9889 100644 --- a/spigot/src/main/java/com/sekwah/advancedportals/spigot/connector/container/SpigotPlayerContainer.java +++ b/spigot/src/main/java/com/sekwah/advancedportals/spigot/connector/container/SpigotPlayerContainer.java @@ -51,7 +51,8 @@ public class SpigotPlayerContainer public boolean teleport(PlayerLocation location) { return this.player.teleport(new Location( Bukkit.getWorld(location.getWorldName()), location.getPosX(), - location.getPosY(), location.getPosZ())); + location.getPosY(), location.getPosZ(), location.getYaw(), + location.getPitch())); } @Override