mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +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);
|
User p = getPlayer(server, args, 0, true);
|
||||||
|
|
||||||
if(p == null)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
if (p.isAuthorized("essentials.jail.exempt"))
|
if (p.isAuthorized("essentials.jail.exempt"))
|
||||||
{
|
{
|
||||||
sender.sendMessage(Util.i18n("mayNotJail"));
|
sender.sendMessage(Util.i18n("mayNotJail"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue