Tweak ListUsersGUI.

- Complete and Reset challenges will be opened until pressed back button.
- Fix issue when confirm reset never closes.
This commit is contained in:
BONNe 2019-01-28 01:19:40 +02:00
parent 9f93acee68
commit d8812cd1ee
1 changed files with 10 additions and 4 deletions

View File

@ -184,8 +184,10 @@ public class ListUsersGUI extends CommonGUI
{
manager.setChallengeComplete(User.getInstance(player), value);
}
this.build();
else
{
this.build();
}
});
break;
case RESET:
@ -194,8 +196,10 @@ public class ListUsersGUI extends CommonGUI
{
manager.resetChallenge(User.getInstance(player), value);
}
this.build();
else
{
this.build();
}
});
break;
case RESET_ALL:
@ -204,6 +208,8 @@ public class ListUsersGUI extends CommonGUI
{
manager.resetAllChallenges(this.user, this.world);
}
this.build();
});
break;
}