Set default value for PCPaintingEntityRefBase.Facing

This commit is contained in:
David Vierra 2015-07-13 16:33:21 -10:00
parent ef7b3d467a
commit cb90fcbd26

View File

@ -235,7 +235,7 @@ class PCPaintingEntityRefBase(PCEntityRefBase):
# XXXXXXXXXXX # XXXXXXXXXXX
# in 1.7 and before, this tag is called "Direction" # in 1.7 and before, this tag is called "Direction"
# in some version before that, it is called "Dir" and its enums are different! # in some version before that, it is called "Dir" and its enums are different!
Facing = nbtattr.NBTAttr('Facing', nbt.TAG_Byte) Facing = nbtattr.NBTAttr('Facing', nbt.TAG_Byte, 0)
SouthFacing = 0 SouthFacing = 0
WestFacing = 1 WestFacing = 1