aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt
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/data/BlockData.kt
parent5250a311250417f128cb6822075e8be0649c1bbc (diff)
downloadskyhanni-1a5a6a64b75d3e18649c52fc71852c875478bc43.tar.gz
skyhanni-1a5a6a64b75d3e18649c52fc71852c875478bc43.tar.bz2
skyhanni-1a5a6a64b75d3e18649c52fc71852c875478bc43.zip
fixed typos
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/BlockData.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/BlockData.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt b/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt
index c43fe9ad0..32a2ee17d 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt
@@ -10,7 +10,8 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class BlockData {
@SubscribeEvent(priority = EventPriority.LOW, receiveCanceled = true)
- fun onChatPacket(event: PacketEvent.ReceiveEvent) {
+ fun onBlockReceivePacket(event: PacketEvent.ReceiveEvent) {
+
@Suppress("USELESS_ELVIS")
val packet = event.packet ?: return