mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Fix TagMap to use "CloneMap" as its Tag Value
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user