3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-25 15:50:19 +01:00

Read target of Forward message properly. Fixes #318

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-06-19 05:36:52 -04:00
Ursprung b79d2d4a94
Commit d6b1bc26d8

Datei anzeigen

@ -220,8 +220,8 @@ class BungeeCordMessageResponder {
} }
private void processForwardToServer(ByteBufDataInput in) { private void processForwardToServer(ByteBufDataInput in) {
ByteBuf toForward = prepareForwardMessage(in);
String target = in.readUTF(); String target = in.readUTF();
ByteBuf toForward = prepareForwardMessage(in);
if (target.equals("ALL")) { if (target.equals("ALL")) {
ByteBuf unreleasableForward = Unpooled.unreleasableBuffer(toForward); ByteBuf unreleasableForward = Unpooled.unreleasableBuffer(toForward);
try { try {