3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-28 17:10:13 +01:00

Kept the wrong defaults

Dieser Commit ist enthalten in:
KennyTV 2020-01-05 21:23:40 +01:00
Ursprung 5ad62a03ed
Commit 4bdb566fb5

Datei anzeigen

@ -679,16 +679,22 @@ public class InventoryPackets {
// Default channels that should not be modifiable // Default channels that should not be modifiable
switch (newId) { switch (newId) {
case "wdl:init": case "minecraft:trader_list":
return "WDL|INIT"; return "MC|TrList";
case "wdl:control": case "minecraft:book_open":
return "WDL|CONTROL"; return "MC|BOpen";
case "wdl:request": case "minecraft:debug/paths":
return "WDL|REQUEST"; return "MC|DebugPath";
case "fml:hs": case "minecraft:debug/neighbors_update":
return "FML|HS"; return "MC|DebugNeighborsUpdate";
case "fml:mp": case "minecraft:register":
return "FML:MP"; return "REGISTER";
case "minecraft:unregister":
return "UNREGISTER";
case "minecraft:brand":
return "MC|Brand";
case "bungeecord:main":
return "BungeeCord";
default: default:
String mappedChannel = MappingData.channelMappings.inverse().get(newId); String mappedChannel = MappingData.channelMappings.inverse().get(newId);
if (mappedChannel != null) return mappedChannel; if (mappedChannel != null) return mappedChannel;