mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 14:19:47 +00:00
Register Sponge PermDescriptions to the LP permission registry
This commit is contained in:
25 files changed
+62
-62
No files matched your search
+2
-2
@@ -115,7 +115,7 @@ public class BungeePermissionCheckListener implements Listener {
|
||||
String name = "internal/" + e.getSender().getName();
|
||||
|
||||
this.plugin.getVerboseHandler().offerCheckData(CheckOrigin.PLATFORM_PERMISSION_CHECK, name, ContextSet.empty(), permission, result);
|
||||
this.plugin.getPermissionVault().offer(permission);
|
||||
this.plugin.getPermissionRegistry().offer(permission);
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
@@ -132,6 +132,6 @@ public class BungeePermissionCheckListener implements Listener {
|
||||
String name = "internal/" + e.getSender().getName();
|
||||
|
||||
this.plugin.getVerboseHandler().offerCheckData(CheckOrigin.PLATFORM_LOOKUP_CHECK, name, ContextSet.empty(), permission, result);
|
||||
this.plugin.getPermissionVault().offer(permission);
|
||||
this.plugin.getPermissionRegistry().offer(permission);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user