mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-21 23:51:42 +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:
parent
1bd8fe41b8
commit
333ef69e88
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user