1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

[trunk] Jail: Directly send player to Jail.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1131 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo
2011-04-05 16:46:06 +00:00
parent 1bd8fe41b8
commit 333ef69e88

View File

@@ -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;
}