1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 03:54:19 +02:00

Fix for Towny using an old method.

This commit is contained in:
snowleo
2011-12-08 02:23:44 +01:00
parent 4efb3174cd
commit a50e735272

View File

@@ -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);