Merge branch 'development'

This commit is contained in:
Brianna 2020-04-22 13:58:09 -04:00
commit 270d919306
14 changed files with 51 additions and 3 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "SongodaCore"
path: "/builds/$CI_PROJECT_PATH"
version: "2.3.25"
version: "2.3.26"
build:
stage: build

View File

@ -1,7 +1,5 @@
package com.songoda.core.nms.nbt;
import java.util.List;
public interface NBTObject {
String asString();
@ -10,6 +8,8 @@ public interface NBTObject {
int asInt();
double asDouble();
long asLong();
short asShort();

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}

View File

@ -25,6 +25,10 @@ public class NBTObjectImpl implements NBTObject {
return compound.getInt(tag);
}
public double asDouble() {
return compound.getDouble(tag);
}
public long asLong() {
return compound.getLong(tag);
}