Skip to content

Commit

Permalink
Resolve build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Aug 23, 2024
1 parent 40dc0f3 commit b306133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ else if (!world.getBlockState(getPosition()).causesSuffocation()) {
super.onLivingUpdate();
}
// Dismount player on both sides to prevent desyncs
if (this.isRiding()) MoCTools.dismountSneakingPlayer(this);
if (this.isRiding()) MoCTools.dismountPassengerFromEntity(this, this.getRidingEntity(), false);
}

public boolean onMaBack() {
Expand Down

0 comments on commit b306133

Please sign in to comment.