diff options
-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( |