Passthrough sw:hotkeys, add optifine brand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
c74178abe1
Commit
0fd86300ac
@ -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));
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren