mirror of https://github.com/ViaVersion/ViaNBT.git
parent
9c06609e68
commit
412b730811
6
pom.xml
6
pom.xml
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>com.viaversion</groupId>
|
||||
<artifactId>opennbt</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<version>2.1.3</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>OpenNBT</name>
|
||||
|
@ -72,7 +72,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.4.1</version>
|
||||
<version>3.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<version>3.3.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
|
|
|
@ -100,7 +100,7 @@ public class ListTag extends Tag implements Iterable<Tag> {
|
|||
if(this.type == null) {
|
||||
this.type = tag.getClass();
|
||||
} else if(tag.getClass() != this.type) {
|
||||
throw new IllegalArgumentException("Tag type cannot differ from ListTag type.");
|
||||
throw new IllegalArgumentException("Tag type " + tag.getClass().getSimpleName() + " differs from list type " + this.type.getSimpleName());
|
||||
}
|
||||
|
||||
return this.value.add(tag);
|
||||
|
|
Loading…
Reference in New Issue