Inventory changes made by plugins are now propagated to the client
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -197,6 +197,8 @@ void cInventory::SetSlot(int a_SlotNum, const cItem & a_Item)
|
||||
{
|
||||
m_Owner.GetWorld()->BroadcastEntityEquipment(m_Owner, SlotNumToEntityEquipmentID(a_SlotNum), a_Item, m_Owner.GetClientHandle());
|
||||
}
|
||||
|
||||
SendSlot(a_SlotNum);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user