1 2 3 4 5 6 7 8 9 10
package com.earth2me.essentials.api; import org.bukkit.Location; import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; public interface ITeleport { void now(Location loc, boolean cooldown, TeleportCause cause) throws Exception; }