Skip to content

Commit

Permalink
Increase max value to order number
Browse files Browse the repository at this point in the history
Previous 54 was a limitation of slot count. Remove it as it is redundant.
#146
  • Loading branch information
BONNe committed Jul 8, 2019
1 parent cd85a92 commit cfad915
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ else if (this.challenge.getChallengeType().equals(Challenge.ChallengeType.OTHER)

icon = new ItemStack(Material.DROPPER);
clickHandler = (panel, user, clickType, slot) -> {
new NumberGUI(this.user, this.challenge.getOrder(), -1, 54, lineLength, (status, value) -> {
new NumberGUI(this.user, this.challenge.getOrder(), -1, 9999, lineLength, (status, value) -> {
if (status)
{
this.challenge.setOrder(value);
Expand Down Expand Up @@ -1322,4 +1322,4 @@ private enum Button
* Variable holds current active menu.
*/
private MenuType currentMenuType;
}
}

0 comments on commit cfad915

Please sign in to comment.