Made isUserSuperadmin simpler.

This commit is contained in:
Steven Lawson
2012-07-28 19:08:44 -04:00
parent f0679c4f61
commit 5838eb23ff
38 changed files with 75 additions and 43 deletions

View File

@ -246,7 +246,13 @@ public class TFM_Util
}
}
@Deprecated
public static boolean isUserSuperadmin(CommandSender user, TotalFreedomMod tfm)
{
return isUserSuperadmin(user);
}
public static boolean isUserSuperadmin(CommandSender user)
{
try
{