mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-29 07:39:09 +02:00
18 lines
412 B
Java
18 lines
412 B
Java
package com.earth2me.essentials.api;
|
|
|
|
import org.bukkit.Location;
|
|
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
|
|
|
|
|
public interface ITeleport
|
|
{
|
|
/**
|
|
* 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;
|
|
}
|