aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-24 16:13:55 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-24 16:13:55 +0200
commit190e9ca2e4b64de7e1b19086a7bcb457b46eb5dc (patch)
tree9df598325bd83a366cafa7671a915471d86ad6bf /src/main/java
parent6995cd2c52efbc14097e3b174d5317926c2c7e5d (diff)
downloadskyhanni-190e9ca2e4b64de7e1b19086a7bcb457b46eb5dc.tar.gz
skyhanni-190e9ca2e4b64de7e1b19086a7bcb457b46eb5dc.tar.bz2
skyhanni-190e9ca2e4b64de7e1b19086a7bcb457b46eb5dc.zip
help finding the error
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt
index 97cab2c33..5ef2b76b4 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt
@@ -9,6 +9,7 @@ import at.hannibal2.skyhanni.events.HypixelJoinEvent
import at.hannibal2.skyhanni.events.LorenzTickEvent
import at.hannibal2.skyhanni.events.ProfileJoinEvent
import at.hannibal2.skyhanni.events.TabListUpdateEvent
+import at.hannibal2.skyhanni.test.command.ErrorManager
import at.hannibal2.skyhanni.utils.ChatUtils
import at.hannibal2.skyhanni.utils.HypixelCommands
import at.hannibal2.skyhanni.utils.LorenzUtils
@@ -35,12 +36,10 @@ object ProfileStorageData {
val playerSpecific = playerSpecific
val sackPlayers = sackPlayers
if (playerSpecific == null) {
- ChatUtils.error("playerSpecific is null in ProfileJoinEvent!")
- return
+ ErrorManager.skyHanniError("playerSpecific is null in ProfileJoinEvent!")
}
if (sackPlayers == null) {
- ChatUtils.error("sackPlayers is null in ProfileJoinEvent!")
- return
+ ErrorManager.skyHanniError("sackPlayers is null in ProfileJoinEvent!")
}
val profileName = event.name