summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/api/ITeleport.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/api/ITeleport.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/api/ITeleport.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/api/ITeleport.java b/Essentials/src/com/earth2me/essentials/api/ITeleport.java
new file mode 100644
index 000000000..5b9a19757
--- /dev/null
+++ b/Essentials/src/com/earth2me/essentials/api/ITeleport.java
@@ -0,0 +1,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;
+}