geforkt von Mirrors/Paper
SPIGOT-6029: RGB Hex colors not respected with custom kick messages
Dieser Commit ist enthalten in:
Ursprung
7c03d257dd
Commit
0458f6000b
@ -156,8 +156,8 @@
|
||||
+ }
|
||||
+ // Send the possibly modified leave message
|
||||
+ s = event.getReason();
|
||||
+ final IChatBaseComponent ichatbasecomponent = CraftChatMessage.fromString(s, true)[0];
|
||||
+ // CraftBukkit end
|
||||
+ final ChatComponentText ichatbasecomponent = new ChatComponentText(s);
|
||||
+
|
||||
this.networkManager.sendPacket(new PacketPlayOutKickDisconnect(ichatbasecomponent), (future) -> {
|
||||
this.networkManager.close(ichatbasecomponent);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren