diff --git a/sponge/src/main/java/me/lucko/luckperms/SpongeListener.java b/sponge/src/main/java/me/lucko/luckperms/SpongeListener.java index ca36dd8b7..090d64bd9 100644 --- a/sponge/src/main/java/me/lucko/luckperms/SpongeListener.java +++ b/sponge/src/main/java/me/lucko/luckperms/SpongeListener.java @@ -66,13 +66,13 @@ public class SpongeListener extends AbstractListener { } // Refresh permissions again - user.refreshPermissions(); + plugin.doAsync(user::refreshPermissions); } @Listener public void onClientJoin(ClientConnectionEvent.Join e) { // Refresh permissions again - refreshPlayer(e.getTargetEntity().getUniqueId()); + plugin.doAsync(() -> refreshPlayer(e.getTargetEntity().getUniqueId())); } @Listener