9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 11:29:17 +00:00

修复存储

This commit is contained in:
XiaoMoMi
2025-10-15 16:36:39 +08:00
parent 7055c527a8
commit c49b8cce41
2 changed files with 2 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ public class VisualBlockStateAllocator {
if (nextCandidate != null) {
nextCandidate.setUsed();
this.cachedBlockStates.put(pair.left(), nextCandidate.blockState());
this.dirty = true;
pair.right().complete(nextCandidate.blockState());
} else {
pair.right().completeExceptionally(new StateExhaustedException(group));