Skip to content

Commit 79bdfcf

Browse files
authored
Fix Multiblocks not unforming when the controller breaks (GregTechCEu#3626)
1 parent ed00371 commit 79bdfcf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/com/gregtechceu/gtceu/core/mixins/LevelMixin.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ public abstract class LevelMixin implements LevelAccessor {
7878
MultiblockWorldSavedData mwsd = MultiblockWorldSavedData.getOrCreate(serverLevel);
7979
Set<MultiblockState> defensiveCopy = new HashSet<>(mwsd.getControllersInChunk(chunk.getPos()));
8080
for (MultiblockState structure : defensiveCopy) {
81-
if (structure.getController() == null || !structure.getController().isFormed()) {
82-
// skip for unloaded/unformed multiblocks
83-
continue;
84-
}
8581
if (structure.isPosInCache(pos)) {
8682
serverLevel.getServer().executeBlocking(() -> structure.onBlockStateChanged(pos, newState));
8783
}

0 commit comments

Comments
 (0)