From cb90fcbd26002c808962eaf28e570714e361342f Mon Sep 17 00:00:00 2001 From: David Vierra Date: Mon, 13 Jul 2015 16:33:21 -1000 Subject: [PATCH] Set default value for PCPaintingEntityRefBase.Facing --- src/mceditlib/anvil/entities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mceditlib/anvil/entities.py b/src/mceditlib/anvil/entities.py index 473caac..e905d91 100644 --- a/src/mceditlib/anvil/entities.py +++ b/src/mceditlib/anvil/entities.py @@ -235,7 +235,7 @@ class PCPaintingEntityRefBase(PCEntityRefBase): # XXXXXXXXXXX # in 1.7 and before, this tag is called "Direction" # 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 WestFacing = 1