From 0444568c64d0f780487bccc1bc8cd580cceb74d0 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 10 Jul 2023 18:44:43 +0700 Subject: [PATCH] =?UTF-8?q?YuRaNnNzZZ=20=E2=80=94=20=D0=A1=D0=B5=D0=B3?= =?UTF-8?q?=D0=BE=D0=B4=D0=BD=D1=8F,=20=D0=B2=2018:42=20=D1=83=D0=B1=D0=B5?= =?UTF-8?q?=D1=80=D0=B8=20=D0=BD=D0=B0=D1=85=D1=83=D0=B9=20=D0=BA=D1=83?= =?UTF-8?q?=D1=80=D0=B8=D0=BE=20=D1=81=D0=BB=D0=BE=D1=82=D1=8B=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D1=8D=D0=BA=D0=B7=D0=BE=D0=BF=D0=B0=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/dbotthepony/mc/otm/compat/curios/CuriosCompat.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/compat/curios/CuriosCompat.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/compat/curios/CuriosCompat.kt index 9c435a6e1..e99c1f020 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/compat/curios/CuriosCompat.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/compat/curios/CuriosCompat.kt @@ -67,6 +67,8 @@ private fun Player.getCuriosSlotsImpl(): List> { * [Pair] */ val Player.curiosSlots: List> get() { + return listOf() + if (!isCuriosLoaded) { return listOf() } @@ -91,6 +93,8 @@ private fun Player.curiosStreamImpl(includeCosmetics: Boolean): Stream { + return Stream.empty() + if (!isCuriosLoaded) { return Stream.empty() } @@ -115,6 +119,8 @@ private fun Player.curiosAwareStreamImpl(includeCosmetics: Boolean): Stream { + return Stream.empty() + if (!isCuriosLoaded) { return Stream.empty() }