mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-23 02:55:42 +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);
|
||||||
|
Loading…
Reference in New Issue
Block a user