mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
Perform uninject tasks synchronously on Bukkit player quit (#2080)
This commit is contained in:
parent
779bbb9f88
commit
3a7fadb843
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user