Skip to content

Commit

Permalink
fix: Remove facades from the client map when unloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Rover656 committed Dec 29, 2024
1 parent 3feaf06 commit 6a2ff1e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,7 @@ public void onChunkUnloaded() {
ConduitSavedData savedData = ConduitSavedData.get(serverLevel);
bundle.getConduits().forEach(type -> onChunkUnloaded(savedData, type));
} else {
if (bundle.hasFacade()) {
FACADES.put(worldPosition, bundle.facade().get().defaultBlockState());
} else {
FACADES.remove(worldPosition);
}
FACADES.remove(worldPosition);
}
}

Expand Down

0 comments on commit 6a2ff1e

Please sign in to comment.