aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-09 22:38:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-09 22:38:06 +0200
commit2931c700994a3fe8f109e93ca96a8c365ebd3102 (patch)
tree2a9e0b673c955a4b2190ea2d3337f87de8174991 /src/main/java/at/hannibal2
parent50905075a70f4419f6772a99ae854d49d105351e (diff)
downloadskyhanni-2931c700994a3fe8f109e93ca96a8c365ebd3102.tar.gz
skyhanni-2931c700994a3fe8f109e93ca96a8c365ebd3102.tar.bz2
skyhanni-2931c700994a3fe8f109e93ca96a8c365ebd3102.zip
irrelevant backend change
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt4
1 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 1203f2982..0d4ed607a 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/PacketTest.kt
@@ -48,11 +48,11 @@ class PacketTest {
@SubscribeEvent(priority = EventPriority.LOW, receiveCanceled = true)
fun onChatPacket(event: PacketEvent.ReceiveEvent) {
- if (!enabled) return
-
val packet = event.packet
val packetName = packet.javaClass.simpleName
+ if (!enabled) return
+
// Keep alive
if (packetName == "S00PacketKeepAlive") return
if (packetName == "C00PacketKeepAlive") return