1
0
Fork 0

cItemFrame: Fixed a forgotten rename.

This commit is contained in:
Mattes D 2014-10-21 22:32:17 +02:00
parent 814e4404bb
commit b979cad893
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public:
Byte GetItemRotation(void) const { return m_ItemRotation; }
/** Set the rotation from the item in the frame */
void SetRotation(Byte a_ItemRotation) { m_ItemRotation = a_ItemRotation; }
void SetItemRotation(Byte a_ItemRotation) { m_ItemRotation = a_ItemRotation; }
// tolua_end

View File

@ -1743,7 +1743,7 @@ void cWSSAnvil::LoadItemFrameFromNBT(cEntityList & a_Entities, const cParsedNBT
int Rotation = a_NBT.FindChildByName(a_TagIdx, "ItemRotation");
if (Rotation > 0)
{
ItemFrame->SetRotation((Byte)a_NBT.GetByte(Rotation));
ItemFrame->SetItemRotation((Byte)a_NBT.GetByte(Rotation));
}
a_Entities.push_back(ItemFrame.release());