Drop long array nbt tag when translating to bedrock

This commit is contained in:
AJ Ferguson 2020-06-29 10:59:51 -08:00
parent d394cc6280
commit e77f2b5dbb

View file

@ -253,8 +253,10 @@ public abstract class ItemTranslator {
}
if (tag instanceof LongArrayTag) {
LongArrayTag longArrayTag = (LongArrayTag) tag;
return new com.nukkitx.nbt.tag.LongArrayTag(longArrayTag.getName(), longArrayTag.getValue());
//Long array tag does not exist in BE
//LongArrayTag longArrayTag = (LongArrayTag) tag;
//return new com.nukkitx.nbt.tag.LongArrayTag(longArrayTag.getName(), longArrayTag.getValue());
return null;
}
if (tag instanceof LongTag) {