diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-08 23:16:26 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-08 23:16:26 +0100 |
commit | 9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f (patch) | |
tree | bcb529eb8df3e3e64287ad11398a57b3b694be5c /src/main/java/at/hannibal2/skyhanni/features/bingo | |
parent | b71903136f12b4c77fcf43f9c47abdbf050ac6ad (diff) | |
download | skyhanni-9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f.tar.gz skyhanni-9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f.tar.bz2 skyhanni-9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f.zip |
renamed bingo session
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bingo')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/BingoAPI.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoAPI.kt index 70ff89127..3f45df300 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoAPI.kt @@ -1,6 +1,6 @@ package at.hannibal2.skyhanni.features.bingo -import at.hannibal2.skyhanni.config.Storage.PlayerSpecific.BingoProfile +import at.hannibal2.skyhanni.config.Storage.PlayerSpecific.BingoSession import at.hannibal2.skyhanni.data.ProfileStorageData import at.hannibal2.skyhanni.data.jsonobjects.repo.BingoJson import at.hannibal2.skyhanni.data.jsonobjects.repo.BingoRanksJson @@ -44,9 +44,9 @@ object BingoAPI { tips[displayName] } - val bingoStorage: BingoProfile by lazy { + val bingoStorage: BingoSession by lazy { val playerSpecific = ProfileStorageData.playerSpecific ?: error("playerSpecific is null") - playerSpecific.bingoProfiles.getOrPut(getStartOfMonthInMillis()) { BingoProfile() } + playerSpecific.bingoSessions.getOrPut(getStartOfMonthInMillis()) { BingoSession() } } private fun getStartOfMonthInMillis() = OffsetDateTime.of( |