mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Remove NBTTagEnd, it isn't possible to create it
This commit is contained in:
parent
1c89f4bffa
commit
d86eaa489a
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user