bugfix again. halp.

This commit is contained in:
Azra Victor 2021-06-24 12:33:38 +02:00 committed by no
parent bf416cc07b
commit fdc826f474

View File

@ -510,7 +510,7 @@ public class match {
if(attackIsPossible) {
if(c.getStatus() == Status.JUMPING) {
c.clearNextFrames();
for(int i = 0; (i < c.getFrames().size() - 1) || (i < atk.getFrame().size()); i++) {
for(int i = 0; (i < c.getFrames().size() - 1) && (i < atk.getFrame().size()); i++) {
Frame jumpf = c.getFrames().get(i+1);
jumpf.cloneWithoutMovement(atk.getFrame().get(i));
c.addSingleFrame(jumpf);