Skip to content

Commit abd05e2

Browse files
committed
update
1 parent 835f416 commit abd05e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ResourcePackListPage.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,9 @@ private void onOpenFolder() {
177177

178178
private void setSelectedEnabled(List<ResourcePackInfoObject> selectedItems, boolean enabled) {
179179
if (!ConfigHolder.config().getShownTips().containsKey(TIP_KEY) && enabled && !selectedItems.stream().map(ResourcePackInfoObject::getFile).allMatch(ResourcePackFile::isCompatible)) {
180-
Controllers.confirmWithCountdown(
180+
Controllers.confirm(
181181
i18n("resourcepack.warning.manipulate"),
182182
i18n("message.warning"),
183-
5,
184183
MessageDialogPane.MessageType.WARNING,
185184
() -> {
186185
ConfigHolder.config().getShownTips().put(TIP_KEY, 0);

0 commit comments

Comments
 (0)