[BUGFIX] Actions Output

Related to an issue on @Parabot
This commit is contained in:
Emmastone
2017-11-27 12:51:11 +00:00
parent 84f6969612
commit 6c81f42cc0
@@ -52,7 +52,7 @@ public class MenuAction {
* @param currentOutputIndex
*/
public static void setCurrentOutputIndex(int currentOutputIndex) {
if (currentOutputIndex > outputs.length - 1) {
if (currentOutputIndex > outputs.length) {
currentOutputIndex = 0;
}
MenuAction.currentOutputIndex = currentOutputIndex;