Merge pull request #92 from Parabot/bugfix/actions-output

[BUGFIX] Actions Output
This commit is contained in:
Jeroen Ketelaar
2017-11-27 23:43:52 +01:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
language: java
jdk:
- oraclejdk7
- openjdk7
- oraclejdk8
before_install:
@@ -27,7 +27,7 @@ notifications:
env:
global:
- PROVIDER_VERSION=1.21.3
- PROVIDER_VERSION=1.21.4
cache:
directories:
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>org.parabot</groupId>
<artifactId>317-api-minified</artifactId>
<version>1.21.3</version>
<version>1.21.4</version>
<name>Parabot 317-API-Minified</name>
<licenses>
@@ -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;