summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-05 16:46:06 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-05 16:46:06 +0000
commit333ef69e8811dd97a07923a61e57a353630f8600 (patch)
tree2ce5fb70a1a6409ca2222217106ac405336bcf78
parent1bd8fe41b860d7b86b0375c0f4c9ffb10a9ab3eb (diff)
downloadEssentials-333ef69e8811dd97a07923a61e57a353630f8600.tar
Essentials-333ef69e8811dd97a07923a61e57a353630f8600.tar.gz
Essentials-333ef69e8811dd97a07923a61e57a353630f8600.tar.lz
Essentials-333ef69e8811dd97a07923a61e57a353630f8600.tar.xz
Essentials-333ef69e8811dd97a07923a61e57a353630f8600.zip
[trunk] Jail: Directly send player to Jail.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1131 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/Jail.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Jail.java b/Essentials/src/com/earth2me/essentials/Jail.java
index 63015fecf..084e6a6da 100644
--- a/Essentials/src/com/earth2me/essentials/Jail.java
+++ b/Essentials/src/com/earth2me/essentials/Jail.java
@@ -65,7 +65,7 @@ public class Jail extends BlockListener implements IConf
public void sendToJail(User user, String jail) throws Exception
{
- user.teleportTo(getJail(jail));
+ user.teleportToNow(getJail(jail));
user.currentJail = jail;
}