forked from GeyserMC/Geyser
Drop long array nbt tag when translating to bedrock
This commit is contained in:
parent
d394cc6280
commit
e77f2b5dbb
1 changed files with 4 additions and 2 deletions
|
@ -253,8 +253,10 @@ public abstract class ItemTranslator {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tag instanceof LongArrayTag) {
|
if (tag instanceof LongArrayTag) {
|
||||||
LongArrayTag longArrayTag = (LongArrayTag) tag;
|
//Long array tag does not exist in BE
|
||||||
return new com.nukkitx.nbt.tag.LongArrayTag(longArrayTag.getName(), longArrayTag.getValue());
|
//LongArrayTag longArrayTag = (LongArrayTag) tag;
|
||||||
|
//return new com.nukkitx.nbt.tag.LongArrayTag(longArrayTag.getName(), longArrayTag.getValue());
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tag instanceof LongTag) {
|
if (tag instanceof LongTag) {
|
||||||
|
|
Loading…
Reference in a new issue