From 9fd4c22c36cff2febaff44865b8740aa9bc7004f Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Tue, 7 Mar 2023 19:34:44 +0700 Subject: [PATCH] Fix referencing Decimal::deserializeNBT not pointing at proper function --- src/main/kotlin/ru/dbotthepony/mc/otm/core/math/Decimal.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/core/math/Decimal.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/core/math/Decimal.kt index 39f471d84..3e530f0c6 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/core/math/Decimal.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/core/math/Decimal.kt @@ -845,11 +845,6 @@ class Decimal @JvmOverloads constructor(whole: BigInteger, decimal: Double = 0.0 return ZERO } - @JvmStatic - fun deserializeNBT(input: ByteArrayTag): Decimal { - return fromByteArray(input.asByteArray) - } - @JvmStatic fun read(buff: FriendlyByteBuf): Decimal { return Decimal(BigInteger(buff.readByteArray()), buff.readDouble())