diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-24 19:49:51 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-24 19:49:51 +0200 |
commit | 3e754cd08a67631a984caa3aa5580e05bba26ac2 (patch) | |
tree | 091ba0ac1934e4861bb8754798f6de245b1b1e32 /src | |
parent | 55d444d2e9105a15fceb99b553c3754f2e247716 (diff) | |
download | skyhanni-3e754cd08a67631a984caa3aa5580e05bba26ac2.tar.gz skyhanni-3e754cd08a67631a984caa3aa5580e05bba26ac2.tar.bz2 skyhanni-3e754cd08a67631a984caa3aa5580e05bba26ac2.zip |
code cleanup
Diffstat (limited to 'src')
8 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt index e9ef04947..646f29847 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt @@ -30,7 +30,7 @@ class MinecraftData { } @SubscribeEvent(receiveCanceled = true) - fun onParticleEvent(event: PacketEvent.ReceiveEvent) { + fun onParticlePacketReceive(event: PacketEvent.ReceiveEvent) { if (!LorenzUtils.inSkyblock) return val packet = event.packet diff --git a/src/main/java/at/hannibal2/skyhanni/features/CorruptedMobHighlight.kt b/src/main/java/at/hannibal2/skyhanni/features/CorruptedMobHighlight.kt index cbad9c0e7..c9d806fcc 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/CorruptedMobHighlight.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/CorruptedMobHighlight.kt @@ -17,7 +17,7 @@ class CorruptedMobHighlight { private val corruptedMobs = mutableListOf<EntityLivingBase>() @SubscribeEvent - fun onHealthUpdateEvent(event: EntityHealthUpdateEvent) { + fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) { if (!LorenzUtils.inSkyblock) return val entity = event.entity diff --git a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt index 216855738..c5d8c10a1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt @@ -24,7 +24,7 @@ class BazaarBestSellMethod { } @SubscribeEvent - fun onGuiDrawEvent(event: GuiScreenEvent.DrawScreenEvent.Post) { + fun onGuiDraw(event: GuiScreenEvent.DrawScreenEvent.Post) { if (!isEnabled()) return textToRender = getNewText(event) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatFilter.kt index ef1191844..f0576fa62 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatFilter.kt @@ -44,7 +44,7 @@ class PlayerChatFilter { } @SubscribeEvent(priority = EventPriority.HIGH) - fun onEvent(event: PlayerSendChatEvent) { + fun onPlayerChat(event: PlayerSendChatEvent) { if (!SkyHanniMod.feature.chat.chatFilter) return if (event.channel != PlayerMessageChannel.ALL) return diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt index 85a233619..86c2a770b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt @@ -56,7 +56,7 @@ class DungeonCleanEnd { } @SubscribeEvent - fun onHealthUpdateEvent(event: EntityHealthUpdateEvent) { + fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) { if (!LorenzUtils.inDungeons) return if (!SkyHanniMod.feature.dungeon.cleanEndToggle) return if (bossDone) return diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazes.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazes.kt index b628593a2..dfbe44ca2 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazes.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazes.kt @@ -58,7 +58,7 @@ class AshfangBlazes { } @SubscribeEvent - fun onHealthUpdateEvent(event: EntityHealthUpdateEvent) { + fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) { if (!isEnabled()) return val entityId = event.entity.entityId diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt index 7711d6fe7..740070869 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt @@ -138,7 +138,7 @@ class SlayerQuestWarning { } @SubscribeEvent - fun onHealthUpdateEvent(event: EntityHealthUpdateEvent) { + fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) { if (!isEnabled()) return val entity = event.entity diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt index da812bcb9..2063a6435 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt @@ -162,7 +162,7 @@ class BlazeSlayerPillar { } @SubscribeEvent - fun onSoundEvent(event: PlaySoundEvent) { + fun onPlaySound(event: PlaySoundEvent) { if (!isEnabled()) return if (!SkyHanniMod.feature.slayer.firePillarBuildHider) return |