We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71baf0c commit 411a69fCopy full SHA for 411a69f
src/main/java/com/denizenscript/depenizen/bungee/DepenizenConnection.java
@@ -108,7 +108,7 @@ public void sendPacket(PacketOut packet) {
108
}
109
110
public void reallocateBuf(ChannelHandlerContext ctx) {
111
- ByteBuf newBuf = ctx.alloc().buffer(4);
+ ByteBuf newBuf = ctx.alloc().buffer(32);
112
if (packetBuffer != null) {
113
newBuf.writeBytes(packetBuffer);
114
packetBuffer.release();
@@ -121,7 +121,7 @@ public void handlerAdded(ChannelHandlerContext ctx) {
121
122
123
124
- packetBuffer = ctx.alloc().buffer(4);
+ packetBuffer = ctx.alloc().buffer(32);
125
lastPacketReceived = System.currentTimeMillis();
126
127
0 commit comments