mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-06-30 17:59:43 +00:00
Fix for Towny using an old method.
This commit is contained in:
parent
5002e7a6ad
commit
ae7d968f5c
|
@ -190,6 +190,11 @@ public class Teleport implements Runnable, ITeleport
|
|||
{
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue