mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-08 03:50:06 +01:00
Fix Vault-based permission logging (forgot after refactor)
This commit is contained in:
parent
890c32949d
commit
0a1feaf044
@ -125,8 +125,8 @@ public class PermissionsHandler implements IPermissionsHandler {
|
||||
lastHandler = handlerClass;
|
||||
|
||||
// output handler info
|
||||
if (handler instanceof GenericVaultHandler) {
|
||||
String enabledPermsPlugin = ((GenericVaultHandler) handler).getEnabledPermsPlugin();
|
||||
if (handler instanceof AbstractVaultHandler) {
|
||||
String enabledPermsPlugin = ((AbstractVaultHandler) handler).getEnabledPermsPlugin();
|
||||
if (enabledPermsPlugin == null) enabledPermsPlugin = "generic";
|
||||
ess.getLogger().info("Using Vault based permissions (" + enabledPermsPlugin + ")");
|
||||
} else if (handler.getClass() == SuperpermsHandler.class) {
|
||||
|
Loading…
Reference in New Issue
Block a user