fixed invis, added cooldown for op and qop

This commit is contained in:
Super_
2019-12-12 18:33:23 -05:00
parent ee44b5fb7f
commit a0571b0175
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ public class Command_invis extends FreedomCommand
for (Player player : server.getOnlinePlayers())
{
if (player.hasPotionEffect(PotionEffectType.INVISIBILITY))
if (player.hasPotionEffect(PotionEffectType.INVISIBILITY) && !Command_vanish.VANISHED.contains(player))
{
players.add(player.getName());
if (clear && !plugin.al.isAdmin(player))