1
0
Fork 0

Code fixes.

This commit is contained in:
Howaner 2014-06-29 01:01:10 +02:00
parent 11d02a447e
commit 20b32fc44e
1 changed files with 1 additions and 1 deletions

View File

@ -2093,7 +2093,7 @@ void cWSSAnvil::LoadSheepFromNBT(cEntityList & a_Entities, const cParsedNBT & a_
int ShearedIdx = a_NBT.FindChildByName(a_TagIdx, "Sheared");
if (ShearedIdx > 0)
{
Monster.get()->SetSheared((bool)a_NBT.GetByte(ShearedIdx));
Monster->SetSheared(a_NBT.GetByte(ShearedIdx) != 0);
}
a_Entities.push_back(Monster.release());