diff options
author | David Cole <40234707+DavidArthurCole@users.noreply.github.com> | 2024-09-17 03:00:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 09:00:08 +0200 |
commit | 1247a11ea7846af1531546263c525b3e005d0eed (patch) | |
tree | 22cddbd03cd0b7ba6cc501a43ddf616bacf052b0 /src/main/java | |
parent | bae0275fc7b176c58c53b827e6b717aec351854f (diff) | |
download | skyhanni-1247a11ea7846af1531546263c525b3e005d0eed.tar.gz skyhanni-1247a11ea7846af1531546263c525b3e005d0eed.tar.bz2 skyhanni-1247a11ea7846af1531546263c525b3e005d0eed.zip |
Fix: BucketedItemTrackerData Not Exposed (#2528)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/BucketedItemTrackerData.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/BucketedItemTrackerData.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/BucketedItemTrackerData.kt index 3bedaf8a4..2197bf5c0 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/BucketedItemTrackerData.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/BucketedItemTrackerData.kt @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.NEUInternalName import at.hannibal2.skyhanni.utils.SimpleTimeMark import at.hannibal2.skyhanni.utils.tracker.ItemTrackerData.TrackedItem +import com.google.gson.annotations.Expose import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl abstract class BucketedItemTrackerData<E : Enum<E>> : TrackerData() { @@ -64,7 +65,9 @@ abstract class BucketedItemTrackerData<E : Enum<E>> : TrackerData() { ) } + @Expose private var selectedBucket: E? = null + @Expose private var bucketedItems: MutableMap<E, MutableMap<NEUInternalName, TrackedItem>> = HashMap() private fun getBucket(bucket: E): MutableMap<NEUInternalName, TrackedItem> = bucketedItems[bucket]?.toMutableMap() ?: HashMap() |