mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue