summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-13 12:29:27 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-13 12:29:27 +0200
commit1a5a6a64b75d3e18649c52fc71852c875478bc43 (patch)
tree933603139a2d246481a0531c16707f706c011023 /src/main/java/at/hannibal2/skyhanni/test
parent5250a311250417f128cb6822075e8be0649c1bbc (diff)
downloadskyhanni-1a5a6a64b75d3e18649c52fc71852c875478bc43.tar.gz
skyhanni-1a5a6a64b75d3e18649c52fc71852c875478bc43.tar.bz2
skyhanni-1a5a6a64b75d3e18649c52fc71852c875478bc43.zip
fixed typos
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyParticlesCommand.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt b/src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt
index fdf023a06..3653e01fa 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt
@@ -90,7 +90,7 @@ object PacketTest {
}
@SubscribeEvent(priority = EventPriority.LOW, receiveCanceled = true)
- fun onChatPacket(event: PacketEvent.ReceiveEvent) {
+ fun onPacketReceive(event: PacketEvent.ReceiveEvent) {
if (!enabled) return
val packet = event.packet
packet.print()
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