Fixed NullPointerExceptions on PlayerEnterEvent and PlayerLeaveEvent.