Discussion in 'Development' started by radondev, Dec 4, 2018.
How to get the player that picked up an item using:
$player = $event->getInventory()->getHolder();
This function doesn't exist for me. I can just get the viewers.
Send us your code and the error you got trying what I said.
Forget what I said. I just looked at the functions phpstorm showed me
Separate names with a comma.