cItemFrame: Fixed a forgotten rename.
This commit is contained in:
parent
814e4404bb
commit
b979cad893
@ -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
|
||||
|
||||
|
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user