v2.3.0: fixed rippers not losing leap pos if state is set to wandering
This commit is contained in:
+4
@@ -111,6 +111,10 @@ public class RipperDemon extends Mob {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean act() {
|
protected boolean act() {
|
||||||
|
if (state == WANDERING){
|
||||||
|
leapPos = -1;
|
||||||
|
}
|
||||||
|
|
||||||
AiState lastState = state;
|
AiState lastState = state;
|
||||||
boolean result = super.act();
|
boolean result = super.act();
|
||||||
if (paralysed <= 0) leapCooldown --;
|
if (paralysed <= 0) leapCooldown --;
|
||||||
|
|||||||
Reference in New Issue
Block a user