fix git
This commit is contained in:
parent
16a8164030
commit
6a3d888f5b
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user