Uhm, the cast to Player is what isn't needed here.. the event takes a HumanEntity, and this method takes a EntityHuman too..

Remove both the import and the cast.