Skip to content

Commit 531f7d0

Browse files
committed
Remove nautilus variant in 1.21.11 component rewriter
1 parent 2806671 commit 531f7d0

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_11to1_21_9/rewriter/ComponentRewriter1_21_11.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ protected void handleShowItem(final UserConnection connection, final CompoundTag
3838
}
3939

4040
removeDataComponents(componentsTag, StructuredDataKey.SWING_ANIMATION, StructuredDataKey.KINETIC_WEAPON, StructuredDataKey.PIERCING_WEAPON,
41-
StructuredDataKey.DAMAGE_TYPE, StructuredDataKey.MINIMUM_ATTACK_CHARGE, StructuredDataKey.USE_EFFECTS, StructuredDataKey.ATTACK_RANGE);
41+
StructuredDataKey.DAMAGE_TYPE, StructuredDataKey.MINIMUM_ATTACK_CHARGE, StructuredDataKey.USE_EFFECTS, StructuredDataKey.ZOMBIE_NAUTILUS_VARIANT, StructuredDataKey.ATTACK_RANGE);
4242
}
4343
}

common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_11to1_21_9/rewriter/EntityPacketRewriter1_21_11.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ protected void registerRewrites() {
8080
filter().type(EntityTypes1_21_11.WOLF).index(21).handler(this::absoluteToRelativeTicks);
8181
filter().type(EntityTypes1_21_11.BEE).index(18).handler(this::absoluteToRelativeTicks);
8282

83-
filter().type(EntityTypes1_21_11.ABSTRACT_NAUTILUS).removeIndex(18); // Dashing
84-
filter().type(EntityTypes1_21_11.ZOMBIE_NAUTILUS).removeIndex(19); // Variant
83+
filter().type(EntityTypes1_21_11.ABSTRACT_NAUTILUS).removeIndex(19); // Dashing
84+
filter().type(EntityTypes1_21_11.ZOMBIE_NAUTILUS).removeIndex(20); // Variant
8585
}
8686

8787
private void absoluteToRelativeTicks(final EntityDataHandlerEvent event, final EntityData data) {

0 commit comments

Comments
 (0)