Multiple League of Legends Icons on Dock

macOS Mojave has a configuration to show recently used application icon in the Dock. In order to disable it, uncheck Show recent applications in Dock under System Preferences → Dock.

Application with support for opening documents minimize into Dock in their own separate icon. To disable that behavior, check to Minimise windows into application icon under System PreferencesDock.

enter image description here