make sure the sender is actually a player before casting