Fixed player teleporting not working with a certain method. This fixes BUKKIT-198

This commit is contained in:
Nathan Adams committed 2011-12-04 13:22:31 +00:00
1 parent 1dbebb4593
commit 1185ca75fc
1 file changed
+1 -1
@@ -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) {