Merge branch 'banshee-bugfix' into 'master'

Fixed a bug that prevented banshees from dying

See merge request 2009scape/2009scape!149
This commit is contained in:
Ceikry
2021-07-11 14:50:53 +00:00
@@ -81,8 +81,8 @@ public final class BansheeNPC extends AbstractNPC {
}
@Override
public void checkImpact(BattleState state) {
super.checkImpact(state);
public void onImpact(Entity entity, BattleState state) {
super.onImpact(entity, state);
if (state.getAttacker() instanceof Player) {
final Player player = (Player) state.getAttacker();
if (!hasEarMuffs(player)) {