mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
fix compile
This commit is contained in:
parent
5a34fa182a
commit
862fe6e2e3
@ -78,7 +78,7 @@ public class VaultHookManager {
|
||||
|
||||
if (permissionHook != null) {
|
||||
sm.unregister(Permission.class, permissionHook);
|
||||
permissionHook.getExecutor().close();
|
||||
permissionHook.getExecutor().shutdown();
|
||||
permissionHook = null;
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
|
||||
/**
|
||||
@ -77,7 +77,7 @@ public class VaultPermissionHook extends AbstractVaultPermission {
|
||||
private final LPBukkitPlugin plugin;
|
||||
|
||||
// an executor for Vault modifications.
|
||||
private final Executor executor;
|
||||
private final ExecutorService executor;
|
||||
|
||||
public VaultPermissionHook(LPBukkitPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
|
Loading…
Reference in New Issue
Block a user