1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-09 05:40:47 +02:00

Perform uninject tasks synchronously on Bukkit player quit (#2080)

This commit is contained in:
Luck
2020-03-24 09:43:32 +00:00
parent 779bbb9f88
commit 3a7fadb843

View File

@@ -227,7 +227,7 @@ public class BukkitConnectionListener extends AbstractConnectionListener impleme
// perform unhooking from bukkit objects 1 tick later.
// this allows plugins listening after us on MONITOR to still have intact permissions data
this.plugin.getBootstrap().getServer().getScheduler().runTaskLaterAsynchronously(this.plugin.getBootstrap(), () -> {
this.plugin.getBootstrap().getServer().getScheduler().runTaskLater(this.plugin.getBootstrap(), () -> {
// Remove the custom permissible
try {
PermissibleInjector.uninject(player, true);