otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.56k stars 1.04k forks source link

mini Refactor inventory update #4667

Closed MillhioreBT closed 2 months ago

MillhioreBT commented 2 months ago

Changes Proposed

Moved the inventory update notification logic for the onEquip, onDeEquip and onInventoryUpdate events to separate methods, removed the notification in iologindata as it was never actually needed, it's just a matter of adding the call in the onCreatureAppear event

Issues addressed: Nothing!