v1.2.0: fixed new surprise logic causing stack overflows with piranha

This commit is contained in:
Evan Debenham 2022-03-17 10:55:26 -04:00
parent f6cfd516c7
commit 7446460625

View File

@ -97,7 +97,7 @@ public class Piranha extends Mob {
}
return state == SLEEPING || !fieldOfView[enemy.pos] || enemy.invisible > 0;
}
return super.surprisedBy(enemy);
return super.surprisedBy(enemy, attacking);
}
@Override