mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-15 21:14:04 +00:00
Remove NBTTagEnd, it isn't possible to create it
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user