Increase max value to order number

Previous 54 was a limitation of slot count. Remove it as it is redundant.
#146
This commit is contained in:
BONNe 2019-07-08 20:30:34 +03:00 committed by GitHub
parent cd85a929d0
commit cfad9150c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -452,7 +452,7 @@ public class EditChallengeGUI extends CommonGUI
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);
@ -1322,4 +1322,4 @@ public class EditChallengeGUI extends CommonGUI
* Variable holds current active menu.
*/
private MenuType currentMenuType;
}
}