From 239a7b17e15eaa5f3ff8509aecef714d8c277ee9 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 27 May 2024 08:59:02 +0200 Subject: added workarounds for profile data not loaded problems --- src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt index c5f072587..e44c1089e 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt @@ -41,7 +41,7 @@ object ProfileStorageData { DelayedRun.runDelayed(10.seconds) { workaroundIn10SecondsProfileStorage(profileName) } - ErrorManager.skyHanniError("playerSpecific is null in ProfileJoinEvent!") + return } if (sackPlayers == null) { ErrorManager.skyHanniError("sackPlayers is null in ProfileJoinEvent!") @@ -61,7 +61,7 @@ object ProfileStorageData { "failed to load your profile data a second time", "workaround in 10 seconds did not work" ) - ErrorManager.skyHanniError("playerSpecific is null in ProfileJoinEvent!") + ErrorManager.skyHanniError("playerSpecific is still null in ProfileJoinEvent!") } if (sackPlayers == null) { ErrorManager.skyHanniError("sackPlayers is null in ProfileJoinEvent!") -- cgit