Skip to content

Commit

Permalink
Fix volume safety warning method missing
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Jan 1, 2025
1 parent bbbfff8 commit beaca2d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@ class VolumePanel(context: Context) : ModPack(context) {
}

volumeDialogImplClass
.hookMethod("onShowSafetyWarning")
.hookMethod(
"onShowSafetyWarning",
"showSafetyWarningH"
)
.runBefore { param ->
if (!showWarning) {
param.result = null
Expand Down

0 comments on commit beaca2d

Please sign in to comment.