mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-24 01:58:00 +01:00
Print problematic future
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
a70bb15146
commit
b8b850fca1
@ -274,7 +274,7 @@ public class InstanceContainer extends Instance {
|
||||
cacheChunk(chunk);
|
||||
EventDispatcher.call(new InstanceChunkLoadEvent(this, chunk));
|
||||
final CompletableFuture<Chunk> future = this.loadingChunks.remove(index);
|
||||
assert future == completableFuture;
|
||||
assert future == completableFuture : "Invalid future: " + future;
|
||||
future.complete(chunk);
|
||||
})
|
||||
.exceptionally(throwable -> {
|
||||
|
Loading…
Reference in New Issue
Block a user