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() {
|
public void goToNext() {
|
||||||
try {
|
//try {
|
||||||
nextFrameBuffer nfb = new nextFrameBuffer();
|
nextFrameBuffer nfb = new nextFrameBuffer();
|
||||||
nfb.clone(this.next);
|
nfb.clone(this.next);
|
||||||
this.current = this.next.current;
|
this.current = this.next.current;
|
||||||
this.next.clone(nfb);
|
this.next.clone(nfb);
|
||||||
} catch (NullPointerException n) {
|
/*} catch (NullPointerException n) {
|
||||||
this.setCurrentFrame(null);
|
this.setCurrentFrame(null);
|
||||||
this.setNext(new nextFrameBuffer());
|
this.setNext(new nextFrameBuffer());
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public Frame getCurrentFrame() {
|
public Frame getCurrentFrame() {
|
||||||
|
@ -486,6 +486,7 @@ public class match {
|
|||||||
c.setStatus(Status.KNOCKEDDOWN);
|
c.setStatus(Status.KNOCKEDDOWN);
|
||||||
c.addNextFrames(c.getKnockedDownFrames());
|
c.addNextFrames(c.getKnockedDownFrames());
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
c.setStatus(Status.NORMAL);
|
c.setStatus(Status.NORMAL);
|
||||||
if(in.getLatestInputs().containsInput(ButtonIG.DOWN)) {
|
if(in.getLatestInputs().containsInput(ButtonIG.DOWN)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user