removed a try catch in nextFramesBuffer.goToNext() that should resolve some issues.

This commit is contained in:
no 2021-06-15 23:54:12 +02:00
parent 2f9b1c8af3
commit 2327859b21
2 changed files with 4 additions and 3 deletions

View File

@ -40,15 +40,15 @@ public class nextFrameBuffer {
}
public void goToNext() {
try {
//try {
nextFrameBuffer nfb = new nextFrameBuffer();
nfb.clone(this.next);
this.current = this.next.current;
this.next.clone(nfb);
} catch (NullPointerException n) {
/*} catch (NullPointerException n) {
this.setCurrentFrame(null);
this.setNext(new nextFrameBuffer());
}
}*/
}
public Frame getCurrentFrame() {

View File

@ -486,6 +486,7 @@ public class match {
c.setStatus(Status.KNOCKEDDOWN);
c.addNextFrames(c.getKnockedDownFrames());
}
break;
default:
c.setStatus(Status.NORMAL);
if(in.getLatestInputs().containsInput(ButtonIG.DOWN)) {