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 | |
parent | b71903136f12b4c77fcf43f9c47abdbf050ac6ad (diff) | |
download | skyhanni-9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f.tar.gz skyhanni-9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f.tar.bz2 skyhanni-9cc992d2ee25cc0db630c6a9d92305fbd2f3cf9f.zip |
renamed bingo session
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Storage.java | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/BingoAPI.kt | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index 3c47ecf9a..3bfcdc860 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -94,9 +94,9 @@ public class Storage { } @Expose - public Map<Long, BingoProfile> bingoProfiles = new HashMap<>(); + public Map<Long, BingoSession> bingoSessions = new HashMap<>(); - public static class BingoProfile { + public static class BingoSession { @Expose public List<String> tierOneMinionsDone = new ArrayList<>(); 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( |