From 63318d575f50418119b8df363b1b46ed9d127480 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 4 Dec 2011 13:22:31 +0000 Subject: [PATCH] Fixed player teleporting not working with a certain method. This fixes BUKKIT-198 By: Nathan Adams --- .../main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index ccd654755..8701d4b74 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -153,7 +153,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { } public boolean teleport(Location location) { - return teleport(this, TeleportCause.PLUGIN); + return teleport(location, TeleportCause.PLUGIN); } public boolean teleport(Location location, TeleportCause cause) {