mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-03 13:21:22 +01:00
Small Javadocs
This commit is contained in:
parent
258f0fc636
commit
081c23ad8b
@ -265,6 +265,12 @@ public class PacketWrapper {
|
|||||||
this.packetValues.clear();
|
this.packetValues.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Send the current packet to the server.
|
||||||
|
* (Ensure the ID is suitable for the server version)
|
||||||
|
*
|
||||||
|
* @throws Exception If it failed to write
|
||||||
|
*/
|
||||||
public void sendToServer() throws Exception {
|
public void sendToServer() throws Exception {
|
||||||
if (!isCancelled()) {
|
if (!isCancelled()) {
|
||||||
ByteBuf output = inputBuffer == null ? Unpooled.buffer() : inputBuffer.alloc().buffer();
|
ByteBuf output = inputBuffer == null ? Unpooled.buffer() : inputBuffer.alloc().buffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user