Skip to content

Commit dde7b8c

Browse files
committed
fix: attempt to mitigate portal visual issue
Cherry-picked from 345df63
1 parent 82f2562 commit dde7b8c

File tree

1 file changed

+1
-1
lines changed
  • c2me-rewrites-chunk-system/src/main/java/com/ishland/c2me/rewrites/chunksystem/common/statuses

1 file changed

+1
-1
lines changed

c2me-rewrites-chunk-system/src/main/java/com/ishland/c2me/rewrites/chunksystem/common/statuses/ServerAccessible.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public CompletionStage<Void> upgradeToThis(ChunkLoadingContext context) {
109109
((IThreadedAnvilChunkStorage) context.tacs()).setChunkHolderListDirty(true);
110110

111111
if (needSendChunks()) {
112-
sendChunkToPlayer(context.tacs(), context.holder());
112+
context.holder().submitOp(CompletableFuture.runAsync(() -> sendChunkToPlayer(context.tacs(), context.holder()), ((IThreadedAnvilChunkStorage) context.tacs()).getMainThreadExecutor()));
113113
}
114114
}, ((IThreadedAnvilChunkStorage) context.tacs()).getMainThreadExecutor());
115115
}

0 commit comments

Comments
 (0)