Added inventory click and player interact events.
Added two event listeners related to players' inventories.