fix compile

This commit is contained in:
Luck 2017-12-23 20:45:28 +00:00
parent 5a34fa182a
commit 862fe6e2e3
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ public class VaultHookManager {
if (permissionHook != null) {
sm.unregister(Permission.class, permissionHook);
permissionHook.getExecutor().close();
permissionHook.getExecutor().shutdown();
permissionHook = null;
}

View File

@ -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;