From 8ccfdc9b7d22352c23d4bff5ee240fa71e302262 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:28:07 +0200 Subject: code cleanup --- .../at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/test') 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!" } -- cgit