geforkt von Mirrors/FastAsyncWorldEdit
Merge pull request #306 from kenzierocks/hotfix/taglistchopped
Forge: Fix NBT tag lists being truncated.
Dieser Commit ist enthalten in:
Commit
a9fe7049b7
@ -178,7 +178,8 @@ final class NBTConverter {
|
|||||||
other = (NBTTagList) other.copy();
|
other = (NBTTagList) other.copy();
|
||||||
List<Tag> list = new ArrayList<Tag>();
|
List<Tag> list = new ArrayList<Tag>();
|
||||||
Class<? extends Tag> listClass = StringTag.class;
|
Class<? extends Tag> listClass = StringTag.class;
|
||||||
for (int i = 0; i < other.tagCount(); i++) {
|
int tags = other.tagCount();
|
||||||
|
for (int i = 0; i < tags; i++) {
|
||||||
Tag child = fromNative(other.removeTag(0));
|
Tag child = fromNative(other.removeTag(0));
|
||||||
list.add(child);
|
list.add(child);
|
||||||
listClass = child.getClass();
|
listClass = child.getClass();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren