Remove NBTTagEnd, it isn't possible to create it

This commit is contained in:
Kenzie Togami 2014-10-12 12:36:39 -07:00
parent 1c89f4bffa
commit d86eaa489a

View File

@ -40,9 +40,6 @@ final class NBTConverter {
} else if (tag instanceof ListTag) { } else if (tag instanceof ListTag) {
return toNative((ListTag) tag); return toNative((ListTag) tag);
} else if (tag instanceof EndTag) {
return toNative((EndTag) tag);
} else if (tag instanceof LongTag) { } else if (tag instanceof LongTag) {
return toNative((LongTag) tag); return toNative((LongTag) tag);
@ -90,10 +87,6 @@ final class NBTConverter {
return list; return list;
} }
public static NBTTagEnd toNative(EndTag tag) {
return new NBTTagEnd();
}
public static NBTTagLong toNative(LongTag tag) { public static NBTTagLong toNative(LongTag tag) {
return new NBTTagLong(tag.getValue()); return new NBTTagLong(tag.getValue());
} }