Skip to content

Commit 422826a

Browse files
committed
Always cancel saddle equipment
1 parent ddcaa78 commit 422826a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_5to1_21_4/rewriter/BlockItemPacketRewriter1_21_5.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ public void registerPackets() {
170170
final int equipmentSlot = value & 0x7F;
171171
if (equipmentSlot == SADDLE_EQUIPMENT_SLOT) {
172172
if (trackedEntity != null && trackedEntity.entityType().isOrHasParent(EntityTypes1_21_5.ABSTRACT_HORSE)) {
173-
wrapper.cancel();
174173
sendSaddledEntityData(wrapper.user(), trackedEntity, entityId);
175-
return;
176174
}
175+
wrapper.cancel();
176+
return;
177177
}
178178
passthroughClientboundItem(wrapper);
179179
} while (value < 0);

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
projectVersion=5.3.0
1+
projectVersion=5.3.1-SNAPSHOT
22

33
# Smile emoji
44
mcVersions=1.21.5,1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10

0 commit comments

Comments
 (0)