updated EntityPlayerSP to allow for an event