Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fix fat finger
Dieser Commit ist enthalten in:
Ursprung
f6fbd25805
Commit
283005c8bc
@ -116,7 +116,7 @@ public class ClientConfigSessionHandler implements MinecraftSessionHandler {
|
|||||||
@Override
|
@Override
|
||||||
public boolean handle(PluginMessagePacket packet) {
|
public boolean handle(PluginMessagePacket packet) {
|
||||||
VelocityServerConnection serverConn = player.getConnectionInFlight();
|
VelocityServerConnection serverConn = player.getConnectionInFlight();
|
||||||
if (serverConn != null) {L
|
if (serverConn != null) {
|
||||||
if (PluginMessageUtil.isMcBrand(packet)) {
|
if (PluginMessageUtil.isMcBrand(packet)) {
|
||||||
String brand = PluginMessageUtil.readBrandMessage(packet.content());
|
String brand = PluginMessageUtil.readBrandMessage(packet.content());
|
||||||
server.getEventManager().fireAndForget(new PlayerClientBrandEvent(player, brand));
|
server.getEventManager().fireAndForget(new PlayerClientBrandEvent(player, brand));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren