Hello everyone,
I’ve recently moved from Bukkit/Spigot development here to Sponge to try out the API and see which one suits me more. So far so good and I love these builders, but when working with events I got stuck.
I’m trying to check if a player right clicks another player, the only event I could find was the InteractEntityEvent and I can indeed check if the entity is an instance of a player, but I can’t seem to get the player WHO right clicked the other entity.
Does somebody of you know of a way to do this? Any help is appreciated!
Thanks in advance,
Skrypt