diff --git a/common/src/main/java/com/viaversion/viaversion/rewriter/ComponentRewriter.java b/common/src/main/java/com/viaversion/viaversion/rewriter/ComponentRewriter.java index 0deb42101..853e0bc4f 100644 --- a/common/src/main/java/com/viaversion/viaversion/rewriter/ComponentRewriter.java +++ b/common/src/main/java/com/viaversion/viaversion/rewriter/ComponentRewriter.java @@ -486,16 +486,16 @@ public class ComponentRewriter implements com.v } } - protected SerializerVersion inputSerializerVersion() { + protected @Nullable SerializerVersion inputSerializerVersion() { return null; } - protected SerializerVersion outputSerializerVersion() { + protected @Nullable SerializerVersion outputSerializerVersion() { return inputSerializerVersion(); // Only matters if the nbt serializer changed } private void convertLegacyContents(final CompoundTag hoverEvent) { - if (inputSerializerVersion() == null || outputSerializerVersion() == null) { + if (inputSerializerVersion() == null) { return; }