From 1d6a6e1bb52fd383ee38804dfdfd0fa43f89e80b Mon Sep 17 00:00:00 2001 From: ItsNature Date: Wed, 11 Mar 2026 01:30:17 +0100 Subject: [PATCH] Use correct option for `ApolloPlayerAttackEvent` --- .../apollo/module/packetenrichment/PacketEnrichmentImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/lunarclient/apollo/module/packetenrichment/PacketEnrichmentImpl.java b/common/src/main/java/com/lunarclient/apollo/module/packetenrichment/PacketEnrichmentImpl.java index 1bfa2f92..3c4199a4 100644 --- a/common/src/main/java/com/lunarclient/apollo/module/packetenrichment/PacketEnrichmentImpl.java +++ b/common/src/main/java/com/lunarclient/apollo/module/packetenrichment/PacketEnrichmentImpl.java @@ -58,7 +58,7 @@ public PacketEnrichmentImpl() { private void onReceivePacket(ApolloReceivePacketEvent event) { Options options = this.getOptions(); - if (options.get(PacketEnrichmentModule.PLAYER_CHAT_OPEN_EVENT)) { + if (options.get(PacketEnrichmentModule.PLAYER_ATTACK_EVENT)) { event.unpack(PlayerAttackMessage.class).ifPresent(packet -> { ApolloPlayerAttackEvent playerAttackEvent = new ApolloPlayerAttackEvent( event.getPlayer(),