1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 09:35:26 +02:00

[trunk] teleportTo replaced with teleport; craftbukkit deprecated

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1089 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo
2011-04-01 23:39:18 +00:00
parent f6ccc7b089
commit 0efed42015

View File

@@ -590,14 +590,14 @@ public class User extends PlayerExtension implements Comparable<User>
{
cancelTeleport();
lastLocation = getLocation();
getBase().teleportTo(getSafeDestination(loc));
getBase().teleport(getSafeDestination(loc));
}
public void teleportToNow(Entity entity)
{
cancelTeleport();
lastLocation = getLocation();
getBase().teleportTo(entity);
getBase().teleport(entity);
}
public void teleportBack(final String chargeFor)