diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-21 15:14:35 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-21 15:14:35 +0200 |
commit | d77d023ad31002b9ba13eb11c1e0c6f9453edb85 (patch) | |
tree | 36a59c16f74558768650dafbd062aca72f1f6d44 /src/main | |
parent | 65b2482d790249f3593b649ed771d72853643840 (diff) | |
download | skyhanni-d77d023ad31002b9ba13eb11c1e0c6f9453edb85.tar.gz skyhanni-d77d023ad31002b9ba13eb11c1e0c6f9453edb85.tar.bz2 skyhanni-d77d023ad31002b9ba13eb11c1e0c6f9453edb85.zip |
small fixes
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Storage.java | 9 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index a53cb13bc..24f100751 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -7,12 +7,12 @@ import at.hannibal2.skyhanni.features.garden.CropType; import at.hannibal2.skyhanni.features.garden.fortuneguide.FarmingItems; import at.hannibal2.skyhanni.features.garden.visitor.VisitorReward; import at.hannibal2.skyhanni.features.misc.FrozenTreasure; -import at.hannibal2.skyhanni.features.misc.ghostcounter.GhostCounter; import at.hannibal2.skyhanni.features.misc.ghostcounter.GhostData; import at.hannibal2.skyhanni.features.rift.area.westvillage.KloonTerminal; import at.hannibal2.skyhanni.utils.LorenzVec; import com.google.gson.annotations.Expose; import net.minecraft.item.ItemStack; + import java.util.*; public class Storage { @@ -54,6 +54,13 @@ public class Storage { @Expose public long lastClicked = -1; + @Override + public String toString() { + return "MinionConfig{" + + "displayName='" + displayName + '\'' + + ", lastClicked=" + lastClicked + + '}'; + } } @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt index bc171c25f..32cd69991 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt @@ -178,9 +178,8 @@ object SkyHanniConfigSearchResetCommand { val className = obj.getClassName() if (!classFilter(className)) continue val objectName = obj.getObjectName() - if (objectName.startsWith(className) && (objectName.startsWith("at.hannibal2.skyhanni.config.features.") || objectName.startsWith( - "at.hannibal2.skyhanni.config.Storage$" - )) + if (objectName.startsWith(className) && (objectName.startsWith("at.hannibal2.skyhanni.config.features.") || + objectName.startsWith("at.hannibal2.skyhanni.config.Storage")) ) { "<category>" } else { |