aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-11-01 13:42:42 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-11-01 13:42:42 +0100
commit4b765d176b23df052ebdad4b45c480ffe904e4de (patch)
treef72cea5d2374a34423aad32fb12dc082147125e3 /src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt
parent5ded107137a04fdbdfa718436a016af98cadd28e (diff)
downloadDulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.tar.gz
DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.tar.bz2
DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.zip
kotlin reformat
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt')
-rw-r--r--src/main/kotlin/dulkirmod/features/BrokenHypeNotif.kt4
1 files changed, 2 insertions, 2 deletions
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)
}