1
0

Fixed hanging direction bugs.

This commit is contained in:
Howaner
2014-09-25 18:37:24 +02:00
parent 2867672815
commit daf5127b28
3 changed files with 17 additions and 2 deletions

View File

@@ -1664,7 +1664,7 @@ void cWSSAnvil::LoadHangingFromNBT(cHangingEntity & a_Hanging, const cParsedNBT
if (Direction > 0)
{
Direction = (int)a_NBT.GetByte(Direction);
if ((Direction < 0) || (Direction > 5))
if ((Direction < 2) || (Direction > 5))
{
a_Hanging.SetDirection(BLOCK_FACE_NORTH);
}