Skip to content

Commit 603e813

Browse files
committed
Call unlink before shape matcher is set back to null
1 parent 862dd78 commit 603e813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/aztech/modern_industrialization/machines/multiblocks/MultiblockMachineBlockEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public void unlink() {
9898
if (shapeMatcher != null) {
9999
shapeMatcher.unlinkHatches();
100100
shapeMatcher.unregisterListeners(level);
101-
shapeMatcher = null;
102101
onUnlink();
102+
shapeMatcher = null;
103103
}
104104
}
105105

0 commit comments

Comments
 (0)