diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-04 05:10:32 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 20:10:32 +0200 |
commit | a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56 (patch) | |
tree | 8db33de28c4ed5b922dc180105a1e81ae19e300d /src/main/java/at/hannibal2/skyhanni/features/nether | |
parent | b19e2ed181ef8618d71ad33960befceff510cfa9 (diff) | |
download | skyhanni-a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56.tar.gz skyhanni-a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56.tar.bz2 skyhanni-a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56.zip |
Backend: Make all event names uniform (#1290)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/nether')
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHideParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHideParticles.kt index 7f15d294c..ebd0f474d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHideParticles.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHideParticles.kt @@ -27,7 +27,7 @@ class AshfangHideParticles { } @SubscribeEvent - fun onReceivePacket(event: ReceiveParticleEvent) { + fun onReceiveParticle(event: ReceiveParticleEvent) { if (isEnabled()) { event.isCanceled = true } diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt index ff6ba8987..9d969fae2 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt @@ -133,7 +133,7 @@ class CrimsonIsleReputationHelper(skyHanniMod: SkyHanniMod) { } @SubscribeEvent(priority = EventPriority.LOWEST) - fun renderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { + fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { if (!config.enabled) return if (!IslandType.CRIMSON_ISLE.isInIsland()) return |