mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-27 22:17:45 +02:00
Change assert
This commit is contained in:
parent
043d323486
commit
9a7d5039a7
@ -273,7 +273,7 @@ public class InstanceContainer extends Instance {
|
||||
cacheChunk(chunk);
|
||||
EventDispatcher.call(new InstanceChunkLoadEvent(this, chunk));
|
||||
final CompletableFuture<Chunk> future = this.loadingChunks.remove(index);
|
||||
assert future != null : "Future should not be null";
|
||||
assert future == completableFuture;
|
||||
future.complete(chunk);
|
||||
});
|
||||
if (loader.supportsParallelLoading()) {
|
||||
|
Loading…
Reference in New Issue
Block a user