From 2a381856b95784163eaca2213707bb48e1e2003e Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 14 Oct 2023 16:56:17 +1100 Subject: [PATCH] SPIGOT-7503: Remove special handling for minecraft:brand custom channel --- .../protocol/common/ServerboundCustomPayloadPacket.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/net/minecraft/network/protocol/common/ServerboundCustomPayloadPacket.patch b/nms-patches/net/minecraft/network/protocol/common/ServerboundCustomPayloadPacket.patch index bb9e6bf41..f4712b4d0 100644 --- a/nms-patches/net/minecraft/network/protocol/common/ServerboundCustomPayloadPacket.patch +++ b/nms-patches/net/minecraft/network/protocol/common/ServerboundCustomPayloadPacket.patch @@ -5,7 +5,7 @@ private static final int MAX_PAYLOAD_SIZE = 32767; - private static final Map> KNOWN_TYPES = ImmutableMap.builder().put(BrandPayload.ID, BrandPayload::new).build(); -+ private static final Map> KNOWN_TYPES = ImmutableMap.>builder().put(BrandPayload.ID, BrandPayload::new).build(); // CraftBukkit - decompile error ++ private static final Map> KNOWN_TYPES = ImmutableMap.>builder().build(); // CraftBukkit - no special handling public ServerboundCustomPayloadPacket(PacketDataSerializer packetdataserializer) { this(readPayload(packetdataserializer.readResourceLocation(), packetdataserializer));