diff options
author | Zenexer <Zenexer@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-03-30 20:22:07 +0000 |
---|---|---|
committer | Zenexer <Zenexer@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-03-30 20:22:07 +0000 |
commit | 12b52030394df4b3a1a2108048a79b27bd1f1365 (patch) | |
tree | b6aacb0304bd27e6556e4318c39474d0f4763acf | |
parent | 17b3c793d9950fc9f78cff34ca3aedcdc9179926 (diff) | |
download | Essentials-12b52030394df4b3a1a2108048a79b27bd1f1365.tar Essentials-12b52030394df4b3a1a2108048a79b27bd1f1365.tar.gz Essentials-12b52030394df4b3a1a2108048a79b27bd1f1365.tar.lz Essentials-12b52030394df4b3a1a2108048a79b27bd1f1365.tar.xz Essentials-12b52030394df4b3a1a2108048a79b27bd1f1365.zip |
Temporary fix for teleportation
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1044 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/User.java | 3 |
1 files changed, 3 insertions, 0 deletions
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<User> 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<User> 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 |