packet was moved

This commit is contained in:
kawaiizenbo 2023-06-28 09:56:49 -07:00
parent 26756e8c86
commit 2a89f212e5

View file

@ -16,7 +16,7 @@ import net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket;
@Mixin(ClientConnection.class)
public class ClientConnectionMixin
{
@Inject(method = "send(Lnet/minecraft/network/Packet;)V", at = @At("HEAD"), cancellable = true)
@Inject(method = "send(Lnet/minecraft/network/packet/Packet;)V", at = @At("HEAD"), cancellable = true)
public void send(Packet<?> packet, CallbackInfo ci)
{
// Call commands if the prefix is sent