mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-23 19:16:31 +01:00
warn servers that P3 is no longer supported.
This commit is contained in:
parent
730e881c75
commit
171c8c9ad3
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user