From 5d3ade02671cef162c3fdfd20fc7aaf760de0505 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 May 2013 18:41:16 +0000 Subject: 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 --- source/Inventory.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/Inventory.cpp') diff --git a/source/Inventory.cpp b/source/Inventory.cpp index 7cfe69be8..8591b7dc2 100644 --- a/source/Inventory.cpp +++ b/source/Inventory.cpp @@ -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); } -- cgit v1.2.3