From ed4e3414007bdd007591e90db2160c8c60980eba Mon Sep 17 00:00:00 2001 From: thispixel Date: Fri, 27 Jun 2014 22:42:58 +0100 Subject: [PATCH] Fix empty packets not being processed and added opcode 121 for 317 revision as a spam packet. it is something to do with resetting entities in a region and is not neded. --- src/org/apollo/net/codec/game/GamePacketDecoder.java | 10 +++++++--- src/org/apollo/net/release/r317/Release317.java | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/org/apollo/net/codec/game/GamePacketDecoder.java b/src/org/apollo/net/codec/game/GamePacketDecoder.java index 9ca6ac84..a7654541 100644 --- a/src/org/apollo/net/codec/game/GamePacketDecoder.java +++ b/src/org/apollo/net/codec/game/GamePacketDecoder.java @@ -1,6 +1,7 @@ package org.apollo.net.codec.game; import io.netty.buffer.ByteBuf; +import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import java.io.IOException; @@ -117,9 +118,12 @@ public final class GamePacketDecoder extends StatefulFrameDecoder