Fix bad default value in Painting.TilePos
xxx make TilePos version aware
This commit is contained in:
parent
bf380cdcfd
commit
a84ddb848e
@ -229,7 +229,7 @@ class PCPaintingEntityRefBase(PCEntityRefBase):
|
|||||||
# XXXXXXXXX
|
# XXXXXXXXX
|
||||||
# in 1.8, TilePos is the block the painting is IN
|
# in 1.8, TilePos is the block the painting is IN
|
||||||
# in 1.7, TilePos is the block the painting is ON
|
# in 1.7, TilePos is the block the painting is ON
|
||||||
TilePos = nbtattr.KeyedVectorAttr('TileX', 'TileY', 'TileZ', nbt.TAG_Int, 0)
|
TilePos = nbtattr.KeyedVectorAttr('TileX', 'TileY', 'TileZ', nbt.TAG_Int, (0, 0, 0))
|
||||||
|
|
||||||
# XXXXXXXXXXX
|
# XXXXXXXXXXX
|
||||||
# in 1.7 and before, this tag is called "Direction"
|
# in 1.7 and before, this tag is called "Direction"
|
||||||
|
Reference in New Issue
Block a user