Fix TagMap to use "CloneMap" as its Tag Value

This commit is contained in:
KAMKEEL committed 2023-03-22 12:52:49 -04:00
1 parent a2af8ca0b2
commit 1fc7c8ea50
1 file changed
+2 -2
@@ -14,7 +14,7 @@ public class TagMap {
}
public void readNBT(NBTTagCompound compound){
NBTTagList list = compound.getTagList(String.valueOf(cloneTab), 10);
NBTTagList list = compound.getTagList("CloneMap", 10);
if(list != null){
for(int i = 0; i < list.tagCount(); i++)
{
@@ -57,7 +57,7 @@ public class TagMap {
}
}
nbt.setTag(String.valueOf(cloneTab), cloneList);
nbt.setTag("CloneMap", cloneList);
return nbt;
}