summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
index ab89d499d..72a364ec1 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
@@ -83,15 +83,16 @@ object SkyHanniConfigSearchResetCommand {
}
val root: Any = when {
- term.startsWith("config") -> {
- SkyHanniMod.feature
- }
+ term.startsWith("config") -> SkyHanniMod.feature
+
term.startsWith("playerSpecific") -> {
ProfileStorageData.playerSpecific ?: return "§cplayerSpecific is null!"
}
+
term.startsWith("profileSpecific") -> {
ProfileStorageData.profileSpecific ?: return "§cprofileSpecific is null!"
}
+
else -> return "§cUnknown config location!"
}