TF-EssentialsX/Essentials/src/com/earth2me/essentials/api/ITeleport.java

18 lines
412 B
Java
Raw Normal View History

package com.earth2me.essentials.api;
import org.bukkit.Location;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
public interface ITeleport
{
2013-04-30 16:25:25 +00:00
/**
* Used to skip teleport delay when teleporting someone to a location or player.
* @param loc
* @param cooldown
* @param cause
* @throws Exception
*/
void now(Location loc, boolean cooldown, TeleportCause cause) throws Exception;
}