small fixes

This commit is contained in:
Jason Penilla
2021-06-13 20:06:11 -07:00
parent 8b23cde79f
commit d465800774
2 changed files with 6 additions and 3 deletions

View File

@@ -44,5 +44,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ this.queue = null;
+ // Paper end
Runnable task;
while ((task = this.queue.poll()) != null) {
- while ((task = this.queue.poll()) != null) {
+ while ((task = queue.poll()) != null) { // Paper
task.run();
}
}