mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 19:09:49 +00:00
Send inventory packets when picking up world items
This commit is contained in:
parent
a7f081dfa5
commit
6e630e6123
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ namespace MWWorld
|
|||
event->cellRef.mRefNum.mIndex,
|
||||
event->cell.getDescription().c_str());
|
||||
|
||||
// LocalPlayer's inventory has changed, so send a packet with it
|
||||
mwmp::Main::get().getLocalPlayer()->sendInventory();
|
||||
|
||||
MWBase::Environment::get().getWorld()->deleteObject (getTarget());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue