New perm: essentials.kit.exemptdelay

Allows you to exempt from kit delays.
This commit is contained in:
KHobbits 2012-08-22 00:27:33 +01:00
parent eaa93d545d
commit d43cb95d72

View File

@ -39,6 +39,10 @@ public class Kit
public static void checkTime(final User user, final String kitName, final Map<String, Object> els) throws NoChargeException
{
if (user.isAuthorized("essentials.kit.exemptdelay")) {
return;
}
final Calendar time = new GregorianCalendar();
// Take the current time, and remove the delay from it.