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:
parent
9f1504739d
commit
bb38260759
@ -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…
x
Reference in New Issue
Block a user