mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-22 18:46:39 +01:00
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:
parent
cd85a929d0
commit
cfad9150c7
@ -452,7 +452,7 @@ public class EditChallengeGUI extends CommonGUI
|
|||||||
|
|
||||||
icon = new ItemStack(Material.DROPPER);
|
icon = new ItemStack(Material.DROPPER);
|
||||||
clickHandler = (panel, user, clickType, slot) -> {
|
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)
|
if (status)
|
||||||
{
|
{
|
||||||
this.challenge.setOrder(value);
|
this.challenge.setOrder(value);
|
||||||
@ -1322,4 +1322,4 @@ public class EditChallengeGUI extends CommonGUI
|
|||||||
* Variable holds current active menu.
|
* Variable holds current active menu.
|
||||||
*/
|
*/
|
||||||
private MenuType currentMenuType;
|
private MenuType currentMenuType;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user