Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Merge pull request #2322 from creeper123123321/passbytebuf
Allow bytebuf passthrough on encode
Dieser Commit ist enthalten in:
Commit
1998eca6c8
@ -54,8 +54,10 @@ public class BukkitEncodeHandler extends MessageToByteEncoder implements ViaHand
|
||||
throw (Error) e.getCause();
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
bytebuf.writeBytes((ByteBuf) o);
|
||||
}
|
||||
|
||||
transform(bytebuf);
|
||||
}
|
||||
|
||||
|
@ -35,8 +35,9 @@ public class SpongeEncodeHandler extends MessageToByteEncoder<Object> implements
|
||||
throw (Error) e.getCause();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
bytebuf.writeBytes((ByteBuf) o)
|
||||
}
|
||||
|
||||
transform(bytebuf);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren