warn servers that P3 is no longer supported.

This commit is contained in:
Sleaker 2012-02-02 07:32:33 -08:00
parent 730e881c75
commit 171c8c9ad3

View File

@ -58,6 +58,7 @@ public class Permission_Permissions3 extends Permission {
if (perms.isEnabled() && perms.getDescription().getVersion().startsWith("3")) { if (perms.isEnabled() && perms.getDescription().getVersion().startsWith("3")) {
permission = (Permissions) perms; permission = (Permissions) perms;
this.perms = (ModularControl) permission.getHandler(); this.perms = (ModularControl) permission.getHandler();
log.severe("Your permission system is outdated and no longer fully supported! It is highly advised to update!");
log.info(String.format("[%s][Permission] %s hooked.", plugin.getDescription().getName(), name)); log.info(String.format("[%s][Permission] %s hooked.", plugin.getDescription().getName(), name));
} }
} }