ocraft / ocraft-s2client

StarCraft II Client - Java library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
55 stars 15 forks source link

ActionImpl.unitCommand with empty List/Set as parameter #42

Open Ketroc opened 4 years ago

Ketroc commented 4 years ago

It would be a nice quality of life change to have unitCommand() do nothing if given an empty unit List/Set as a parameter. Since these lists are almost always generated in a way where they could be empty, we currently have to do an empty check or error handling for every unitCommand() call.

Supalosa commented 2 years ago

+1 - if no objection i could add this.