Enable chat filter for game messages as well (#251)

This commit is contained in:
Lucwousin
2019-05-15 00:43:21 +02:00
committed by Kyleeld
parent 12ab975e0c
commit f4e1cb22b8
2 changed files with 4 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ public class HydraPlugin extends Plugin
log.debug("Tried some weird shit");
break;
}
}
}
else if (actor.getAnimation() == phase.getSpecAnimationId() && phase.getSpecAnimationId() != 0)
{
@@ -232,8 +232,8 @@ public class HydraPlugin extends Plugin
if (poisonProjectiles.isEmpty())
{
// Only add 9 to next special on the first poison projectile (whoops)
hydra.setNextSpecial(hydra.getNextSpecial() + 9);
}
hydra.setNextSpecial(hydra.getNextSpecial() + 9);
}
poisonProjectiles.put(event.getPosition(), projectile);
}
else if (client.getTickCount() != lastAttackTick

View File

@@ -108,6 +108,7 @@ public class ChatFilterPlugin extends Plugin
case PRIVATECHAT:
case MODPRIVATECHAT:
case FRIENDSCHAT:
case GAMEMESSAGE:
break;
default:
return;