Rename mixin

This commit is contained in:
Draycia committed 2022-07-16 21:28:24 -07:00
1 parent 6c0913f7aa
commit 9875ef1b50
2 files changed
+2 -2

No files matched your search

@@ -29,7 +29,7 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.ModifyVariable; import org.spongepowered.asm.mixin.injection.ModifyVariable;
@Mixin(ServerGamePacketListenerImpl.class) @Mixin(ServerGamePacketListenerImpl.class)
abstract class ChatListenerMixin { abstract class PacketListenerMixin {
@ModifyVariable(at = @At("HEAD"), index = 1, method = "send(Lnet/minecraft/network/protocol/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V", argsOnly = true) @ModifyVariable(at = @At("HEAD"), index = 1, method = "send(Lnet/minecraft/network/protocol/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V", argsOnly = true)
private Packet<?> sendPacket(final Packet<?> packet) { private Packet<?> sendPacket(final Packet<?> packet) {
@@ -7,7 +7,7 @@
"ServerGamePacketListenerImplMixin", "ServerGamePacketListenerImplMixin",
"ServerPlayerMixin", "ServerPlayerMixin",
"PlayerListMixin", "PlayerListMixin",
"ChatListenerMixin" "PacketListenerMixin"
], ],
"client": [ "client": [
], ],