mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
[trunk] Fixes failed back after tjail
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1137 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
1b3386336a
commit
fc2c9d71bb
@ -60,8 +60,8 @@ public class Commandtogglejail extends EssentialsCommand
|
||||
}
|
||||
sender.sendMessage("§7Player " + p.getName() + " " + (p.toggleJailed() ? "jailed." : "unjailed."));
|
||||
p.sendMessage("§7You have been released");
|
||||
p.teleportBack();
|
||||
p.currentJail = "";
|
||||
p.teleportBack();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user