mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-03 00:38:00 +00:00
[BUGFIX] Actions Output
Related to an issue on @Parabot
This commit is contained in:
@@ -52,7 +52,7 @@ public class MenuAction {
|
|||||||
* @param currentOutputIndex
|
* @param currentOutputIndex
|
||||||
*/
|
*/
|
||||||
public static void setCurrentOutputIndex(int currentOutputIndex) {
|
public static void setCurrentOutputIndex(int currentOutputIndex) {
|
||||||
if (currentOutputIndex > outputs.length - 1) {
|
if (currentOutputIndex > outputs.length) {
|
||||||
currentOutputIndex = 0;
|
currentOutputIndex = 0;
|
||||||
}
|
}
|
||||||
MenuAction.currentOutputIndex = currentOutputIndex;
|
MenuAction.currentOutputIndex = currentOutputIndex;
|
||||||
|
|||||||
Reference in New Issue
Block a user