mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 12:30:42 +01:00
Fix for Towny using an old method.
This commit is contained in:
parent
5002e7a6ad
commit
ae7d968f5c
@ -191,6 +191,11 @@ public class Teleport implements Runnable, ITeleport
|
|||||||
cancel(false);
|
cancel(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void teleport(Location loc, Trade chargeFor) throws Exception
|
||||||
|
{
|
||||||
|
teleport(new Target(loc), chargeFor, TeleportCause.PLUGIN);
|
||||||
|
}
|
||||||
|
|
||||||
public void teleport(Location loc, Trade chargeFor, TeleportCause cause) throws Exception
|
public void teleport(Location loc, Trade chargeFor, TeleportCause cause) throws Exception
|
||||||
{
|
{
|
||||||
teleport(new Target(loc), chargeFor, cause);
|
teleport(new Target(loc), chargeFor, cause);
|
||||||
|
Loading…
Reference in New Issue
Block a user