This commit is contained in:
Jesse Boyd 2017-10-16 14:57:36 +11:00
parent 1a5fd8add5
commit 602312eb3c
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
4 changed files with 4 additions and 4 deletions

View File

@ -294,7 +294,7 @@ public final class FaweAdapter_1_10 implements BukkitImplAdapter
return new NBTTagIntArray(((IntArrayTag) foreign).getValue());
} else if (foreign instanceof ListTag) {
NBTTagList tag = new NBTTagList();
ListTag foreignList = (ListTag) foreign;
ListTag<Tag> foreignList = (ListTag) foreign;
for (Tag t : foreignList.getValue()) {
tag.add(fromNative(t));
}

View File

@ -288,7 +288,7 @@ public final class FaweAdapter_1_11 implements BukkitImplAdapter
return new NBTTagIntArray(((IntArrayTag) foreign).getValue());
} else if (foreign instanceof ListTag) {
NBTTagList tag = new NBTTagList();
ListTag foreignList = (ListTag) foreign;
ListTag<Tag> foreignList = (ListTag) foreign;
for (Tag t : foreignList.getValue()) {
tag.add(fromNative(t));
}

View File

@ -321,7 +321,7 @@ public final class FaweAdapter_1_12 implements BukkitImplAdapter
return new NBTTagIntArray(((IntArrayTag) foreign).getValue());
} else if (foreign instanceof ListTag) {
NBTTagList tag = new NBTTagList();
ListTag foreignList = (ListTag) foreign;
ListTag<Tag> foreignList = (ListTag) foreign;
for (Tag t : foreignList.getValue()) {
tag.add(fromNative(t));
}

View File

@ -325,7 +325,7 @@ public final class FaweAdapter_1_9 implements BukkitImplAdapter
if ((foreign instanceof ListTag))
{
NBTTagList tag = new NBTTagList();
ListTag foreignList = (ListTag)foreign;
ListTag<Tag> foreignList = (ListTag)foreign;
for (Tag t : foreignList.getValue()) {
tag.add(fromNative(t));
}