mirror of https://github.com/Minestom/Minestom.git
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