3.2.0 Release

Override getValue in NumberTag
This commit is contained in:
Nassim Jahnke 2023-10-16 15:31:17 +10:00
parent f243f76d6f
commit 4f5060b5fa
3 changed files with 10 additions and 2 deletions

View File

@ -32,7 +32,7 @@ This project also includes code from [adventure](https://github.com/KyoriPowered
<dependency>
<groupId>com.viaversion</groupId>
<artifactId>nbt</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```

View File

@ -5,7 +5,7 @@
<groupId>com.viaversion</groupId>
<artifactId>nbt</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<packaging>jar</packaging>
<name>ViaNBT</name>

View File

@ -5,6 +5,14 @@ package com.github.steveice10.opennbt.tag.builtin;
*/
public abstract class NumberTag extends Tag {
/**
* Gets the number value of this tag.
*
* @return Number value of this tag.
*/
@Override
public abstract Number getValue();
/**
* Gets the byte value of this tag.
*