diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-09 22:38:06 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-09 22:38:06 +0200 |
commit | 2931c700994a3fe8f109e93ca96a8c365ebd3102 (patch) | |
tree | 2a9e0b673c955a4b2190ea2d3337f87de8174991 /src/main/java/at/hannibal2 | |
parent | 50905075a70f4419f6772a99ae854d49d105351e (diff) | |
download | skyhanni-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.kt | 4 |
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 |