1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-24 08:22:56 +01: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 9f1504739d
commit bb38260759

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