Skip to content

Commit 1d6a6e1

Browse files
committed
Use correct option for ApolloPlayerAttackEvent
1 parent 5d03a46 commit 1d6a6e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/src/main/java/com/lunarclient/apollo/module/packetenrichment/PacketEnrichmentImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public PacketEnrichmentImpl() {
5858
private void onReceivePacket(ApolloReceivePacketEvent event) {
5959
Options options = this.getOptions();
6060

61-
if (options.get(PacketEnrichmentModule.PLAYER_CHAT_OPEN_EVENT)) {
61+
if (options.get(PacketEnrichmentModule.PLAYER_ATTACK_EVENT)) {
6262
event.unpack(PlayerAttackMessage.class).ifPresent(packet -> {
6363
ApolloPlayerAttackEvent playerAttackEvent = new ApolloPlayerAttackEvent(
6464
event.getPlayer(),

0 commit comments

Comments
 (0)