From f9b2cef51347f8745a14590f34893b09b5b67bb5 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 28 Feb 2025 22:03:44 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=20SHOCKY=20=E2=80=94=20=D0=A1=D0=B5?= =?UTF-8?q?=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F,=20=D0=B2=2022:00=20=D0=B0=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE=20=D1=8D=D0=BD=D0=B4=D0=B5=D1=80?= =?UTF-8?q?=20=D1=81=D1=83=D0=BD=D0=B4=D1=83=D0=BA=20=D0=B2=20=D0=B8=D0=BD?= =?UTF-8?q?=D0=B2=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B5=20=E2=9A=99=20SHOCKY?= =?UTF-8?q?=20=E2=80=94=20=D0=A1=D0=B5=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F,=20?= =?UTF-8?q?=D0=B2=2022:00=20=D0=B2=D1=8B=D1=80=D1=83=D0=B1=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B7=D0=B0=D0=BF=D0=BE=D0=BC=D0=B8=D0=BD=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B2=D0=BA=D0=BB=D0=B0=D0=B4=D0=BA=D0=B8=20?= =?UTF-8?q?=D1=87=D1=82=D0=BE-=D0=B1=D1=8B=20=D0=BF=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D1=8B=20=D0=BD=D0=B5=20=D0=B8=D1=81=D0=BF?= =?UTF-8?q?=D0=B0=D1=80=D1=8F=D0=BB=D0=B8=D1=81=D1=8C=20=D0=B2=20=D0=B1?= =?UTF-8?q?=D0=B5=D0=B7=D0=B4=D0=BD=D1=83=20(=D1=8D=D0=BD=D0=B4=D0=B5?= =?UTF-8?q?=D1=80=20=D1=81=D1=83=D0=BD=D0=B4=D1=83=D0=BA)=20=E2=9A=99=20SH?= =?UTF-8?q?OCKY=20=E2=80=94=20=D0=A1=D0=B5=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F,?= =?UTF-8?q?=20=D0=B2=2022:01=20=D1=8D=D1=82=D0=BE=20=D1=87=D1=82=D0=BE=20?= =?UTF-8?q?=D0=B4=D0=B5=D1=81=D0=B8=D0=BD=D0=BA=20=D0=BA=D0=BB=D0=B8=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=D0=B0=20=D0=B2=D1=8B=D1=85=D0=BE=D0=B4=D0=B8=D1=82?= =?UTF-8?q?=20=D0=B8=D0=BB=D0=B8=20=D0=BA=D0=B0=D0=BA=20=D1=87=D1=82=D0=BE?= =?UTF-8?q?=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=20=D0=B4=D1=83=D0=BC?= =?UTF-8?q?=D0=B0=D0=B5=D1=82=20=D1=87=D1=82=D0=BE=20=D0=BE=D1=82=D0=BA?= =?UTF-8?q?=D1=80=D1=8B=D1=82=20=D1=81=D1=83=D0=BD=D0=B4=D1=83=D0=BA=20?= =?UTF-8?q?=D0=B8=20=D1=88=D0=B8=D1=84=D1=82=20=D0=BA=D0=BB=D0=B8=D0=BA=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=BA=D0=B8=D0=B4=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D1=82=20=D0=BF=D1=80=D0=B5=D0=B4=D0=BC=D0=B5=D1=82=20?= =?UTF-8?q?=D0=B2=20=D1=8D=D0=BD=D0=B4=D0=B5=D1=80=20=D1=81=D1=83=D0=BD?= =?UTF-8?q?=D0=B4=D1=83=D0=BA=20=D0=B0=20=D0=BD=D0=B5=20=D0=B2=20=D1=85?= =?UTF-8?q?=D0=BE=D1=82=D0=B1=D0=B0=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/dbotthepony/mc/otm/menu/input/InstantBooleanInput.kt | 2 -- .../ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/menu/input/InstantBooleanInput.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/menu/input/InstantBooleanInput.kt index de588058c..9de91eb29 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/menu/input/InstantBooleanInput.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/menu/input/InstantBooleanInput.kt @@ -6,8 +6,6 @@ import java.util.function.BooleanSupplier class InstantBooleanInput(menu: MatteryMenu) : Delegate, BooleanSupplier { var value = false - private set - val input = menu.booleanInput(true) { value = it } override fun get(): Boolean { diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt index 1bcc75ab1..7c27788fd 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt @@ -229,6 +229,7 @@ object ExopackMenuOpen : CustomPacketPayload { if (mattery.hasExopack) { player.containerMenu = mattery.exoPackMenu + mattery.exoPackMenu.enderChestOpenState.value = false } }