From c07d5c668c7f9f968c430d69dab3bcd9060c2526 Mon Sep 17 00:00:00 2001 From: YuRaNnNzZZ Date: Tue, 6 Sep 2022 08:38:59 +0300 Subject: [PATCH] =?UTF-8?q?DBotThePony=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=208:34=20=D0=9E=D0=B9=D0=B1?= =?UTF-8?q?=D0=BB=D1=8F=D0=B4=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt index 4151bc1d8..e71579e4e 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt @@ -418,11 +418,11 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial // exosuit hasExoSuit = tag.getBoolean("hasExoSuit") + tag.map("exoSuitSlotCountModifiers", exoSuitSlotCountModifiers::deserializeNBT) + exoSuitContainer.deserializeNBT(tag["exoSuitContainer"]) isExoSuitCraftingUpgraded = tag.getBoolean("isExoSuitCraftingUpgraded") - tag.map("exoSuitSlotCountModifiers", exoSuitSlotCountModifiers::deserializeNBT) - // android isAndroid = tag.getBoolean("isAndroid") willBecomeAndroid = tag.getBoolean("willBecomeAndroid")