Skip to content

Commit

Permalink
Fix: Minister Perk (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaynx authored Aug 15, 2024
1 parent 8edaca5 commit 0077255
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ object MayorAPI {
val currentMayorName = data.mayor.name
if (lastMayor?.name != currentMayorName) {
currentMayor = setAssumeMayorJson(currentMayorName, data.mayor.perks)
currentMinister = setAssumeMayorJson(data.mayor.minister.name, data.mayor.minister.perk)
currentMinister = setAssumeMayorJson(data.mayor.minister.name, listOf(data.mayor.minister.perk))
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data class MayorCandidate(
data class Minister(
@Expose val key: String,
@Expose val name: String,
@Expose val perk: List<MayorPerk>,
@Expose val perk: MayorPerk,
)

data class MayorPerk(
Expand Down

0 comments on commit 0077255

Please sign in to comment.