mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-27 00:49:44 +00:00
remove null check for user in toggle jail. this is handled when we get user
This commit is contained in:
parent
dab37c7b5b
commit
71c11d05fd
1 changed files with 0 additions and 5 deletions
|
@ -23,11 +23,6 @@ public class Commandtogglejail extends EssentialsCommand
|
|||
}
|
||||
|
||||
User p = getPlayer(server, args, 0, true);
|
||||
|
||||
if(p == null)
|
||||
{
|
||||
|
||||
}
|
||||
if (p.isAuthorized("essentials.jail.exempt"))
|
||||
{
|
||||
sender.sendMessage(Util.i18n("mayNotJail"));
|
||||
|
|
Loading…
Reference in a new issue