From 60f5876280121a7a7d7577044fc13207a73797cd Mon Sep 17 00:00:00 2001 From: YuRaNnNzZZ Date: Fri, 21 Feb 2025 15:01:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=81=D0=BB=D0=B8=20=D1=8D=D1=82=D0=BE?= =?UTF-8?q?=20=D0=BD=D0=B5=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=B5?= =?UTF-8?q?=D1=82=20=D1=8F=20=D1=81=D0=B4=D0=B0=D1=8E=D1=81=D1=8C.=20?= =?UTF-8?q?=D0=BE=D0=BD=D0=BE=20=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B8=D1=80?= =?UTF-8?q?=D1=83=D0=B5=D1=82=20=D0=BD=D0=BE=D1=80=D0=BC=D0=B0=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D0=B1=D0=B0=D0=B9=D1=82=D0=BA=D0=BE=D0=B4?= =?UTF-8?q?=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=B9=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=BB=D0=B6=D0=B5=D0=BD=20=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=BD=D0=BE=20=D0=B2=D1=8B=D1=80=D0=B5=D0=B7=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=D1=81=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit YuRaNnNzZZ — Сегодня, в 14:50 Изображение Изображение и как это обходить блять котлин говна --- .../mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt index 3de8a8216..022ea1ecd 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt @@ -310,8 +310,9 @@ class BlackHoleBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Mattery } } - @OnlyIn(Dist.CLIENT) - private val ambientSound = BlackHoleAmbientSoundInstance(this) + private val ambientSound: BlackHoleAmbientSoundInstance + @OnlyIn(Dist.CLIENT) + get() = BlackHoleAmbientSoundInstance(this) init { if (isClient) minecraft.soundManager.play(ambientSound)