diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/BlockItemPacketRewriter1_21_2.java b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/BlockItemPacketRewriter1_21_2.java index e311194b..27c52d38 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/BlockItemPacketRewriter1_21_2.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/BlockItemPacketRewriter1_21_2.java @@ -468,7 +468,7 @@ public final class BlockItemPacketRewriter1_21_2 extends BackwardsStructuredItem for (int i = 0; i < effects.size(); i++) { final CompoundTag effectTag = effects.get(i); final int effect = effectTag.getInt("effect"); - final PotionEffectData data = convertPotionEffectData(effectTag.getCompoundTag("data")); + final PotionEffectData data = convertPotionEffectData(effectTag); potionEffects[i] = new PotionEffect(effect, data); } final float probability = tag.getFloat("probability");