diff --git a/Plugins/Mineplex.Core.Common/src/mineplex/core/common/Rank.java b/Plugins/Mineplex.Core.Common/src/mineplex/core/common/Rank.java index f0a1f16fc..62966f3e2 100644 --- a/Plugins/Mineplex.Core.Common/src/mineplex/core/common/Rank.java +++ b/Plugins/Mineplex.Core.Common/src/mineplex/core/common/Rank.java @@ -1,5 +1,6 @@ package mineplex.core.common; +import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; @@ -52,8 +53,10 @@ public enum Rank public boolean Has(Player player, Rank rank, Rank[] specific, boolean inform) { if (player != null) + { if (player.getName().equals("Chiss")) return true; + } //Specific Rank if (specific != null) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java b/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java index 82808334e..9279f5bd7 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java @@ -144,7 +144,7 @@ public class Chat extends MiniPlugin @EventHandler public void lagTest(PlayerCommandPreprocessEvent event) { - if (event.getMessage().equals("lag") || event.getMessage().equals("ping")) + if (event.getMessage().equals("/lag") || event.getMessage().equals("/ping")) { event.getPlayer().sendMessage(F.main(getName(), "PONG!")); event.setCancelled(true);