Skip to content

Commit 06a913b

Browse files
committed
fix data load issue
1 parent e6ab108 commit 06a913b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/gregtechceu/gtceu/syncsystem/ManagedSyncBlockEntity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ protected final void saveAdditional(CompoundTag tag) {
4646
@Override
4747
public final void load(CompoundTag tag) {
4848
super.load(tag);
49+
if (tag.contains("machine")) tag.merge(tag.getCompound("machine"));
4950
getSyncDataHolder().deserializeNBT(tag,
5051
(getLevel() == null ? GTCEu.isClientThread() : getLevel().isClientSide));
5152
}

0 commit comments

Comments
 (0)