Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit f51f7fe

Browse files
committed
0.1.1
1 parent 9ca88ba commit f51f7fe

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# ModCheck
22
![ModCheck](https://cdn.7tv.app/emote/60eefb20119bd109472f7f4b/4x)
3+
4+
Minecraft SpeedRun Mods Auto Installer/Updater
5+
6+
original idea by [pistacium](https://github.com/pistacium/ModCheck)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group 'com.redlimerl'
7-
version '0.1'
7+
version '0.1.1'
88
repositories {
99
mavenCentral()
1010
}

src/main/java/com/pistacium/modcheck/ModCheckFrame.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.pistacium.modcheck;
22

33
import com.pistacium.modcheck.mod.ModData;
4+
import com.pistacium.modcheck.mod.resource.ModResource;
45
import com.pistacium.modcheck.mod.version.ModVersion;
56
import com.pistacium.modcheck.util.ModCheckStatus;
67

@@ -241,11 +242,12 @@ public void updateModList() {
241242
ModVersion mcVersion = (ModVersion) this.versionSelection.getSelectedItem();
242243

243244
for (ModData modData : ModCheck.AVAILABLE_MODS) {
244-
if (modData.getLatestVersionResource(mcVersion) != null) {
245+
ModResource modResource = modData.getLatestVersionResource(mcVersion);
246+
if (modResource != null) {
245247
JPanel modPanel = new JPanel();
246248
modPanel.setLayout(new BoxLayout(modPanel, BoxLayout.Y_AXIS));
247249

248-
JCheckBox checkBox = new JCheckBox(modData.getName());
250+
JCheckBox checkBox = new JCheckBox(modData.getName() + " (v" + (modResource.getModVersion().getVersionName()) + ")");
249251
checkBox.addActionListener(i -> {
250252
boolean isSelected = checkBox.isSelected();
251253
for (String incompatibleMod : modData.getIncompatibleMods()) {

0 commit comments

Comments
 (0)