Enable chat filter for game messages as well (#251)
This commit is contained in:
@@ -189,7 +189,7 @@ public class HydraPlugin extends Plugin
|
|||||||
log.debug("Tried some weird shit");
|
log.debug("Tried some weird shit");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (actor.getAnimation() == phase.getSpecAnimationId() && phase.getSpecAnimationId() != 0)
|
else if (actor.getAnimation() == phase.getSpecAnimationId() && phase.getSpecAnimationId() != 0)
|
||||||
{
|
{
|
||||||
@@ -232,8 +232,8 @@ public class HydraPlugin extends Plugin
|
|||||||
if (poisonProjectiles.isEmpty())
|
if (poisonProjectiles.isEmpty())
|
||||||
{
|
{
|
||||||
// Only add 9 to next special on the first poison projectile (whoops)
|
// 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);
|
poisonProjectiles.put(event.getPosition(), projectile);
|
||||||
}
|
}
|
||||||
else if (client.getTickCount() != lastAttackTick
|
else if (client.getTickCount() != lastAttackTick
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ public class ChatFilterPlugin extends Plugin
|
|||||||
case PRIVATECHAT:
|
case PRIVATECHAT:
|
||||||
case MODPRIVATECHAT:
|
case MODPRIVATECHAT:
|
||||||
case FRIENDSCHAT:
|
case FRIENDSCHAT:
|
||||||
|
case GAMEMESSAGE:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user