Fixed pmd issue in GameEventListener.