Skip to content

Commit

Permalink
Fixed enum lookup values
Browse files Browse the repository at this point in the history
  • Loading branch information
Jire committed Dec 30, 2022
1 parent a276ef8 commit 6cd3fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/jire/overwatcheat/aimbot/AimMode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enum class AimMode(

private val typeToAimMode: Int2ObjectMap<AimMode> =
Int2ObjectOpenHashMap<AimMode>(values.size).apply {
for (value in values) {
for (value in AimMode.values) {
put(value.type, value)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ enum class PreciseSleeper(val type: Int) {

private val typeToSleeper: Int2ObjectMap<PreciseSleeper> =
Int2ObjectOpenHashMap<PreciseSleeper>(values.size).apply {
for (value in values) {
for (value in PreciseSleeper.values) {
put(value.type, value)
}
}
Expand Down

0 comments on commit 6cd3fd2

Please sign in to comment.