From 12b52030394df4b3a1a2108048a79b27bd1f1365 Mon Sep 17 00:00:00 2001 From: Zenexer Date: Wed, 30 Mar 2011 20:22:07 +0000 Subject: Temporary fix for teleportation git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1044 e251c2fe-e539-e718-e476-b85c1f46cddb --- Essentials/src/com/earth2me/essentials/User.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index c3fe0ce5f..e6b675118 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -136,6 +136,8 @@ public class User extends PlayerExtension implements Comparable public void teleportCooldown(boolean justCheck) throws Exception { + return; // TODO: Fix this regression + /* long now = Calendar.getInstance().getTimeInMillis(); long cooldown = Essentials.getSettings().getTeleportCooldown(); long left = lastTeleport + cooldown - now; @@ -143,6 +145,7 @@ public class User extends PlayerExtension implements Comparable throw new Exception("Time before next teleport: " + Essentials.FormatTime(left)); // if justCheck is set, don't update lastTeleport; we're just checking if (!justCheck) lastTeleport = now; + */ } public void teleportCooldown() throws Exception -- cgit v1.2.3