From 4bdb566fb5fb1ee7e3aa883bee1575e592980e1c Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Sun, 5 Jan 2020 21:23:40 +0100 Subject: [PATCH] Kept the wrong defaults --- .../packets/InventoryPackets.java | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java index 1db3bc618..9c5643c53 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java @@ -679,16 +679,22 @@ public class InventoryPackets { // Default channels that should not be modifiable switch (newId) { - case "wdl:init": - return "WDL|INIT"; - case "wdl:control": - return "WDL|CONTROL"; - case "wdl:request": - return "WDL|REQUEST"; - case "fml:hs": - return "FML|HS"; - case "fml:mp": - return "FML:MP"; + case "minecraft:trader_list": + return "MC|TrList"; + case "minecraft:book_open": + return "MC|BOpen"; + case "minecraft:debug/paths": + return "MC|DebugPath"; + case "minecraft:debug/neighbors_update": + return "MC|DebugNeighborsUpdate"; + case "minecraft:register": + return "REGISTER"; + case "minecraft:unregister": + return "UNREGISTER"; + case "minecraft:brand": + return "MC|Brand"; + case "bungeecord:main": + return "BungeeCord"; default: String mappedChannel = MappingData.channelMappings.inverse().get(newId); if (mappedChannel != null) return mappedChannel;