From 24e33c7c0d0f0aff5412cf144a1f3a42ca34ec0a Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sun, 8 May 2022 21:14:23 -0500 Subject: [PATCH] Make it compile --- .../dev/plex/nush/listener/impl/JoinListener.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/java/dev/plex/nush/listener/impl/JoinListener.java b/src/main/java/dev/plex/nush/listener/impl/JoinListener.java index a1aa482..ebb594e 100644 --- a/src/main/java/dev/plex/nush/listener/impl/JoinListener.java +++ b/src/main/java/dev/plex/nush/listener/impl/JoinListener.java @@ -6,9 +6,6 @@ import dev.plex.listener.PlexListener; import dev.plex.nush.NushModule; import dev.plex.player.PlexPlayer; import dev.plex.rank.RankManager; -import net.kyori.adventure.text.Component; -import net.kyori.adventure.text.format.NamedTextColor; -import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.player.PlayerJoinEvent; @@ -24,7 +21,13 @@ public class JoinListener extends PlexListener PlexPlayer plexPlayer = DataUtils.getPlayer(player.getUniqueId()); RankManager rankManager = plex.getRankManager(); - if(!rankManager.isAdmin(plexPlayer)) return; // we only want to add admins - if(ChatListener.work.containsKey()) + if (!rankManager.isAdmin(plexPlayer)) + { + return; // we only want to add admins + } + /*if (ChatListener.work.containsKey()) + { + + }*/ } }