mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-23 21:49:53 +00:00
Fix ReadNBT Tag Error
This commit is contained in:
1 parent
c4b9a5ca21
commit
53070b47c4
4 files changed
+3
-10
No files matched your search
@@ -25,9 +25,9 @@ public class TagMap {
|
||||
String cloneName = nbttagcompound.getString("Clone");
|
||||
|
||||
HashSet<UUID> uuids = new HashSet<UUID>();
|
||||
NBTTagList nbtTagList = compound.getTagList("TagUUIDs",8);
|
||||
NBTTagList nbtTagList = nbttagcompound.getTagList("TagUUIDs",8);
|
||||
for (int j = 0; j < nbtTagList.tagCount(); j++) {
|
||||
String uuid = nbtTagList.getStringTagAt(i);
|
||||
String uuid = nbtTagList.getStringTagAt(j);
|
||||
if(!uuid.isEmpty()){
|
||||
uuids.add(UUID.fromString(uuid));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user