Fix for Towny using an old method.

This commit is contained in:
snowleo 2011-12-08 02:23:44 +01:00
parent 5002e7a6ad
commit ae7d968f5c

View file

@ -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
{