-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Mute High Heat sound in the Magma Fields #2573
base: beta
Are you sure you want to change the base?
Feature: Mute High Heat sound in the Magma Fields #2573
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the heat level. Since we don't want to silence something unintentional all the time.
src/main/java/at/hannibal2/skyhanni/features/mining/crystalhollows/HighHeatSound.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/mining/crystalhollows/HighHeatSound.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/mining/crystalhollows/HighHeatSound.kt
Outdated
Show resolved
Hide resolved
This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes. |
…ting # Conflicts: # src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt # src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
Conflicts have been resolved! 🎉 |
This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes. |
…ting # Conflicts: # src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java # src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt # src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt # src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
Conflicts have been resolved! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just this one nitpick
@SubscribeEvent | ||
fun onSound(event: PlaySoundEvent) { | ||
if (!isEnabled()) return | ||
if (!(LocationUtils.playerLocation().y <= 65.0 && MiningAPI.heat >= 90)) return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!(LocationUtils.playerLocation().y <= 65.0 && MiningAPI.heat >= 90)) return | |
if (LocationUtils.playerLocation().y > 65.0 || MiningAPI.heat < 90) return |
What
adds a toggle to mute the high heat sound in the magma fields when at or above 90 heat
suggestion
Changelog New Features