3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +01:00
Dieser Commit ist enthalten in:
Andrew Steinborn 2019-05-12 10:06:01 -04:00
Ursprung adfb33ad21
Commit b5fcf685be

Datei anzeigen

@ -137,10 +137,8 @@ public class TransitionSessionHandler implements MinecraftSessionHandler {
}
if (PluginMessageUtil.isRegister(packet)) {
System.out.println("[TSH] I CAN HAZ REGISTER: " + PluginMessageUtil.getChannels(packet));
serverConn.getPlayer().getKnownChannels().addAll(PluginMessageUtil.getChannels(packet));
} else if (PluginMessageUtil.isUnregister(packet)) {
System.out.println("[TSH] I CAN HAZ UNREGISTER: " + PluginMessageUtil.getChannels(packet));
serverConn.getPlayer().getKnownChannels().removeAll(PluginMessageUtil.getChannels(packet));
}