diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/BlockData.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/BlockData.kt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt b/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt index 32a2ee17d..3d767b505 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/BlockData.kt @@ -2,12 +2,14 @@ package at.hannibal2.skyhanni.data import at.hannibal2.skyhanni.events.PacketEvent import at.hannibal2.skyhanni.events.ServerBlockChangeEvent +import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule import net.minecraft.network.play.server.S22PacketMultiBlockChange import net.minecraft.network.play.server.S23PacketBlockChange import net.minecraftforge.fml.common.eventhandler.EventPriority import net.minecraftforge.fml.common.eventhandler.SubscribeEvent -class BlockData { +@SkyHanniModule +object BlockData { @SubscribeEvent(priority = EventPriority.LOW, receiveCanceled = true) fun onBlockReceivePacket(event: PacketEvent.ReceiveEvent) { @@ -25,4 +27,4 @@ class BlockData { } } } -}
\ No newline at end of file +} |