mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-09 12:38:01 +02: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.
|
// perform unhooking from bukkit objects 1 tick later.
|
||||||
// this allows plugins listening after us on MONITOR to still have intact permissions data
|
// 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
|
// Remove the custom permissible
|
||||||
try {
|
try {
|
||||||
PermissibleInjector.uninject(player, true);
|
PermissibleInjector.uninject(player, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user