mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Rename mixin
This commit is contained in:
1 parent
6c0913f7aa
commit
9875ef1b50
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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": [
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user