diff --git a/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/Protocol1_16to20w14infinite.java b/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/Protocol1_16to20w14infinite.java index 06eb2aa..a7223ed 100644 --- a/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/Protocol1_16to20w14infinite.java +++ b/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/Protocol1_16to20w14infinite.java @@ -47,7 +47,7 @@ public class Protocol1_16to20w14infinite extends BackwardsProtocol tagRewriter; + private final TagRewriter tagRewriter = new TagRewriter<>(this); public Protocol1_16to20w14infinite() { super(ClientboundPackets20w14infinite.class, ClientboundPackets1_16.class, ServerboundPackets20w14infinite.class, ServerboundPackets1_16.class); @@ -57,7 +57,6 @@ public class Protocol1_16to20w14infinite extends BackwardsProtocol(this); tagRewriter.register(ClientboundPackets20w14infinite.TAGS, RegistryType.ENTITY); new StatisticsRewriter<>(this).register(ClientboundPackets20w14infinite.STATISTICS); EntityPackets20w14infinite.register(this);