1.15 pre1 - 7
This commit is contained in:
1 parent
aa8f5c1921
commit
a463b10bca
17 files changed
+36
-36
No files matched your search
@@ -15,7 +15,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
public abstract class ClientConnectionMixin
|
||||
{
|
||||
// Add to the packet counter whenever a packet is received.
|
||||
@Inject(method = "method_10770", at = @At("HEAD"))
|
||||
@Inject(method = "channelRead0", at = @At("HEAD"))
|
||||
private void packetInCount(ChannelHandlerContext channelHandlerContext_1, Packet<?> packet_1, CallbackInfo ci)
|
||||
{
|
||||
PacketCounter.totalIn++;
|
||||
|
||||
Reference in new issue
Block a user