Fix NBTUUIDAttr not creating tags if missing
This commit is contained in:
parent
356565a0b4
commit
cca4cc71eb
@ -119,8 +119,8 @@ class NBTUUIDAttr(object):
|
|||||||
least = uuidInt & 0xffffffffffffffffL
|
least = uuidInt & 0xffffffffffffffffL
|
||||||
most = (uuidInt >> 64) & 0xffffffffffffffffL
|
most = (uuidInt >> 64) & 0xffffffffffffffffL
|
||||||
tag = instance.rootTag
|
tag = instance.rootTag
|
||||||
tag["UUIDLeast"].value = _signed(least)
|
tag["UUIDLeast"] = nbt.TAG_Long(_signed(least))
|
||||||
tag["UUIDMost"].value = _signed(most)
|
tag["UUIDMost"] = nbt.TAG_Long(_signed(most))
|
||||||
instance.dirty = True
|
instance.dirty = True
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user