Fix referencing Decimal::deserializeNBT not pointing at proper function
This commit is contained in:
parent
75b06f34c2
commit
9fd4c22c36
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user