1
0

Anvil: Wolf collar color is a byte in Vanilla.

Kept the old Int reading for compatibility reasons.
Ref.: #1448
This commit is contained in:
madmaxoft
2014-09-23 22:22:38 +02:00
parent d04ab9b703
commit 8d9dfc5d1a
2 changed files with 18 additions and 4 deletions

View File

@@ -582,7 +582,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster)
}
m_Writer.AddByte("Sitting", Wolf.IsSitting() ? 1 : 0);
m_Writer.AddByte("Angry", Wolf.IsAngry() ? 1 : 0);
m_Writer.AddInt("CollarColor", Wolf.GetCollarColor());
m_Writer.AddByte("CollarColor", (unsigned char)Wolf.GetCollarColor());
break;
}
case cMonster::mtZombie: