v1.2.0: fixed new surprise logic causing stack overflows with piranha
This commit is contained in:
parent
f6cfd516c7
commit
7446460625
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user