removed a try catch in nextFramesBuffer.goToNext() that should resolve some issues.
This commit is contained in:
parent
2f9b1c8af3
commit
2327859b21
@ -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() {
|
||||
|
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user