diff --git a/pom.xml b/pom.xml index 7eb70da..b35ce64 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ com.cnaude PurpleIRC - 1.0-${build.number} + 1.0-SNAPSHOT PurpleIRC-spigot Minecraft IRC integration for CraftBukkit/Spigot servers. http://www.spigotmc.org/resources/purpleirc.2836/ @@ -83,11 +83,6 @@ placeholderapi http://repo.extendedclip.com/content/repositories/placeholderapi/ - - - Scarsz-Jenkins - http://scarsz.tech:8080/plugin/repository/everything/ - diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/SuperVanishHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/SuperVanishHook.java index b2b7ff0..2618868 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/SuperVanishHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/SuperVanishHook.java @@ -44,13 +44,14 @@ public class SuperVanishHook { * @return */ public boolean isVanished(Player player) { - List invisiblePlayers = VanishAPI.getInvisiblePlayers(); - for (UUID uuid : invisiblePlayers) { + List allinvisiblePlayers = VanishAPI.getAllInvisiblePlayers(); + for (UUID uuid : allinvisiblePlayers) { if (uuid.equals(player.getUniqueId())) { plugin.logDebug("Player " + player.getName() + " is vanished."); return true; } } + plugin.logDebug("Player " + player.getName() + " is not vanished."); return false; } }