mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01: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
@ -590,14 +590,14 @@ public class User extends PlayerExtension implements Comparable<User>
|
|||||||
{
|
{
|
||||||
cancelTeleport();
|
cancelTeleport();
|
||||||
lastLocation = getLocation();
|
lastLocation = getLocation();
|
||||||
getBase().teleportTo(getSafeDestination(loc));
|
getBase().teleport(getSafeDestination(loc));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void teleportToNow(Entity entity)
|
public void teleportToNow(Entity entity)
|
||||||
{
|
{
|
||||||
cancelTeleport();
|
cancelTeleport();
|
||||||
lastLocation = getLocation();
|
lastLocation = getLocation();
|
||||||
getBase().teleportTo(entity);
|
getBase().teleport(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void teleportBack(final String chargeFor)
|
public void teleportBack(final String chargeFor)
|
||||||
|
Loading…
Reference in New Issue
Block a user