Fix a null pointer in the chunk update queue

This commit is contained in:
James Seibel
2025-01-30 20:13:53 -06:00
parent 6e5bd02ae0
commit 2c077f5224
@@ -609,6 +609,11 @@ public class SharedApi
}
DhChunkPos closest = this.closestQueue.poll();
if (closest == null)
{
return null;
}
this.furthestQueue.remove(closest);
return this.updateDataByChunkPos.remove(closest);
}