runescape-client: fix the thing

This commit is contained in:
ThatGamerBlue
2020-12-11 06:14:29 +00:00
parent f74baf08ce
commit 463bc42f5f
325 changed files with 35526 additions and 35531 deletions

View File

@@ -30,35 +30,35 @@ public class IterableDualNodeQueueIterator implements Iterator {
descriptor = "(Ljf;)V"
)
IterableDualNodeQueueIterator(IterableDualNodeQueue var1) {
this.last = null;
this.queue = var1;
this.head = this.queue.sentinel.previousDual;
this.last = null;
}
this.last = null; // L: 9
this.queue = var1; // L: 12
this.head = this.queue.sentinel.previousDual; // L: 13
this.last = null; // L: 14
} // L: 15
public void remove() {
if (this.last == null) {
if (this.last == null) { // L: 33
throw new IllegalStateException();
} else {
this.last.removeDual();
this.last = null;
this.last.removeDual(); // L: 34
this.last = null; // L: 35
}
}
} // L: 36
public Object next() {
DualNode var1 = this.head;
if (var1 == this.queue.sentinel) {
var1 = null;
this.head = null;
DualNode var1 = this.head; // L: 18
if (var1 == this.queue.sentinel) { // L: 19
var1 = null; // L: 20
this.head = null; // L: 21
} else {
this.head = var1.previousDual;
this.head = var1.previousDual; // L: 23
}
this.last = var1;
return var1;
this.last = var1; // L: 24
return var1; // L: 25
}
public boolean hasNext() {
return this.queue.sentinel != this.head;
return this.queue.sentinel != this.head; // L: 29
}
}