Skip to content

Commit

Permalink
Adds throw.
Browse files Browse the repository at this point in the history
  • Loading branch information
toxicity188 committed Apr 21, 2024
1 parent b769ff4 commit 81d6b51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/src/main/kotlin/kr/toxicity/hud/util/Maps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ fun <V: HudConfiguration> MutableMap<String, V>.putSync(name: String, k: String,
}
}.onFailure {
remove()
throw it
}
}

0 comments on commit 81d6b51

Please sign in to comment.