Another try for nextFrameBuffer.

This commit is contained in:
Azra Victor 2021-06-15 23:58:14 +02:00 committed by no
parent 2327859b21
commit c3430a9f3f

View File

@ -43,8 +43,7 @@ public class nextFrameBuffer {
//try { //try {
nextFrameBuffer nfb = new nextFrameBuffer(); nextFrameBuffer nfb = new nextFrameBuffer();
nfb.clone(this.next); nfb.clone(this.next);
this.current = this.next.current; this.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());