diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-12-04 13:22:31 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-12-04 13:22:31 +0000 |
commit | 1185ca75fcc5ed9c1aeed85d145de7c6763646ef (patch) | |
tree | f494e3bca4cc0ff203cd6d7c3c1c09487a672e4d /src | |
parent | 1dbebb459319ee5ed698d788d70b09dd0bda1e34 (diff) | |
download | craftbukkit-1185ca75fcc5ed9c1aeed85d145de7c6763646ef.tar craftbukkit-1185ca75fcc5ed9c1aeed85d145de7c6763646ef.tar.gz craftbukkit-1185ca75fcc5ed9c1aeed85d145de7c6763646ef.tar.lz craftbukkit-1185ca75fcc5ed9c1aeed85d145de7c6763646ef.tar.xz craftbukkit-1185ca75fcc5ed9c1aeed85d145de7c6763646ef.zip |
Fixed player teleporting not working with a certain method. This fixes BUKKIT-198
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index ccd65475..8701d4b7 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/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) { |