1
0
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:
ementalo
2011-07-07 21:08:42 +01:00
parent ffce2c202d
commit 207f2ba0f3

View File

@@ -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"));