From 98508fd0a399b5c04b056992bf89f78714dbd0f0 Mon Sep 17 00:00:00 2001 From: Max <67809373+98ping@users.noreply.github.com> Date: Sat, 2 Sep 2023 13:54:41 -0700 Subject: [PATCH] chore: bump plugin.yml --- .../profiles/connection/postlog/tasks/LoadPermissions.kt | 4 +++- spigot/src/main/resources/plugin.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spigot/src/main/kotlin/ltd/matrixstudios/alchemist/profiles/connection/postlog/tasks/LoadPermissions.kt b/spigot/src/main/kotlin/ltd/matrixstudios/alchemist/profiles/connection/postlog/tasks/LoadPermissions.kt index d87a2f298..6eee4e3fc 100644 --- a/spigot/src/main/kotlin/ltd/matrixstudios/alchemist/profiles/connection/postlog/tasks/LoadPermissions.kt +++ b/spigot/src/main/kotlin/ltd/matrixstudios/alchemist/profiles/connection/postlog/tasks/LoadPermissions.kt @@ -21,7 +21,9 @@ object LoadPermissions : BukkitPostLoginTask { val profile = ProfileGameService.byId(player.uniqueId) ?: return val startPerms = System.currentTimeMillis() - AccessiblePermissionHandler.update(player, profile.getPermissions()) + CompletableFuture.runAsync { + AccessiblePermissionHandler.update(player, profile.getPermissions()) + } MetricService.addMetric("Permission Handler", Metric("Permission Handler", System.currentTimeMillis().minus(startPerms), System.currentTimeMillis())) } diff --git a/spigot/src/main/resources/plugin.yml b/spigot/src/main/resources/plugin.yml index 8e675ae8c..e92594b22 100644 --- a/spigot/src/main/resources/plugin.yml +++ b/spigot/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: Alchemist -version: 2.8 +version: 2.9 main: ltd.matrixstudios.alchemist.AlchemistSpigotPlugin author: 98ping softdepend: