Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 01:00:15 +01:00
Kept the wrong defaults
Dieser Commit ist enthalten in:
Ursprung
5ad62a03ed
Commit
4bdb566fb5
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren