From 4b765d176b23df052ebdad4b45c480ffe904e4de Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 1 Nov 2022 13:42:42 +0100 Subject: kotlin reformat --- src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt') diff --git a/src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt b/src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt index d516fcf..adb8edc 100644 --- a/src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt +++ b/src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt @@ -20,7 +20,7 @@ fun brokenHypeNotif() { if (mc.thePlayer == null) return - val stack: ItemStack = mc.thePlayer.heldItem?: return + val stack: ItemStack = mc.thePlayer.heldItem ?: return // get info about held item if (stack.hasTagCompound()) { @@ -58,7 +58,7 @@ fun brokenHypeNotif() { // If this section of the code is reached, then we have the same item, and we can check for updated stats if (oldKill != kill && oldChampionXp == championXp) { - mc.thePlayer.playSound("random.anvil_land",1f * Config.bestiaryNotifVol,0f) + mc.thePlayer.playSound("random.anvil_land", 1f * Config.bestiaryNotifVol, 0f) val color = Utils.getColorString(Config.bestiaryNotifColor) DulkirMod.titleUtils.drawStringForTime("${color}Hype Broken", 5000) } -- cgit