mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-13 18:14:38 +02:00
[trunk] Fixes tjail if there is a jail stuck in the config.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1138 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -43,6 +43,7 @@ public class Commandtogglejail extends EssentialsCommand
|
||||
User.charge(sender, this);
|
||||
sender.sendMessage("§7Player " + p.getName() + " " + (p.toggleJailed() ? "jailed." : "unjailed."));
|
||||
p.sendMessage("§7You have been jailed");
|
||||
p.currentJail = null;
|
||||
Essentials.getJail().sendToJail(p, args[1]);
|
||||
p.currentJail = (args[1]);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user