SteamWar/BungeeCore
Archiviert
13
2

Passthrough sw:hotkeys, add optifine brand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2024-03-14 12:18:27 +01:00
Ursprung c74178abe1
Commit 0fd86300ac

Datei anzeigen

@ -72,6 +72,7 @@ public class PluginMessage extends BasicListener {
knownBrands.add("vanilla"); knownBrands.add("vanilla");
knownBrands.add("fabric"); knownBrands.add("fabric");
knownBrands.add("forge"); //Forge registers all channels the server registers knownBrands.add("forge"); //Forge registers all channels the server registers
knownBrands.add("optifine");
knownChannels.add("fabric:container/open"); knownChannels.add("fabric:container/open");
knownChannels.add("fabric:registry/sync/direct"); knownChannels.add("fabric:registry/sync/direct");
@ -103,6 +104,7 @@ public class PluginMessage extends BasicListener {
register("minecraft:brand", false, directional(this::steamWarBrand, this::userBrand)); register("minecraft:brand", false, directional(this::steamWarBrand, this::userBrand));
register("sw:bridge", false, directional(onlySWSource(async(event -> NetworkPacket.handle(new ServerMetaInfo(((Server) event.getSender()).getInfo()), event.getData()))), UNKNOWN)); register("sw:bridge", false, directional(onlySWSource(async(event -> NetworkPacket.handle(new ServerMetaInfo(((Server) event.getSender()).getInfo()), event.getData()))), UNKNOWN));
register("sw:hotkeys", false, directional(UNKNOWN, PASS_THROUGH));
register("worldedit:cui", false, PASS_THROUGH); register("worldedit:cui", false, PASS_THROUGH);
register("fabricmodsender:mods", true, directional(UNKNOWN, fabricModSender::handlePluginMessage)); register("fabricmodsender:mods", true, directional(UNKNOWN, fabricModSender::handlePluginMessage));