mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 11:37:30 +02:00
remove null check for user in toggle jail. this is handled when we get user
This commit is contained in:
@@ -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"));
|
||||
|
Reference in New Issue
Block a user