update data with mishap set

This commit is contained in:
yrsegal@gmail.com 2022-04-10 16:56:52 -04:00
parent 61597a3a54
commit 592bff1646

View file

@ -209,7 +209,6 @@ public abstract class BlockEntityAbstractImpetus extends PaucalBlockEntity imple
}
if (this.foundAll) {
this.setLastMishap(null);
this.castSpell();
this.stopCasting();
return;
@ -312,6 +311,8 @@ public abstract class BlockEntityAbstractImpetus extends PaucalBlockEntity imple
2f, 1f);
}
if (erroredPos != null) {
this.setLastMishap(null);
this.setChanged();
this.sfx(erroredPos, false);
}
}