Skip to content

Commit

Permalink
Merge pull request #1541 from wdfaESfaef/moving-block
Browse files Browse the repository at this point in the history
修复客机在游戏内使用活塞推动方块时掉线的问题
  • Loading branch information
dmzz-yyhyy authored Jan 24, 2025
2 parents a37ee43 + b0208dd commit 0f8ce29
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ abstract class PistonMovingBlockEntityMixin implements PistonMovingBlockEntityIn

@Override
public void anvilcraft$setData(CompoundTag nbt) {
if(nbt == null) return;
this.anvilcraft$nbt.merge(nbt);
}

Expand Down

0 comments on commit 0f8ce29

Please sign in to comment.