From 1a5a6a64b75d3e18649c52fc71852c875478bc43 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 13 May 2024 12:29:27 +0200 Subject: fixed typos --- .../at/hannibal2/skyhanni/test/command/CopyNearbyParticlesCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/test/command') diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyParticlesCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyParticlesCommand.kt index c76d7318f..2ca9bce5b 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyParticlesCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyParticlesCommand.kt @@ -34,7 +34,7 @@ object CopyNearbyParticlesCommand { } @SubscribeEvent(priority = EventPriority.LOW, receiveCanceled = true) - fun onChatPacket(event: PacketEvent.ReceiveEvent) { + fun onPacketReceive(event: PacketEvent.ReceiveEvent) { if (!saveNextTick) return // command was sent in or around a tick so skipping the tick if (System.currentTimeMillis() <= searchTime + 5) return -- cgit