mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00: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:
parent
f6ccc7b089
commit
0efed42015
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue