mirror of
https://github.com/ViaVersion/ViaNBT.git
synced 2024-09-28 03:57:30 +02:00
3.2.0 Release
Override getValue in NumberTag
This commit is contained in:
parent
f243f76d6f
commit
4f5060b5fa
@ -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>
|
||||
```
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user