mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Fixed #12600
This commit is contained in:
@@ -238,11 +238,8 @@ public class ModsDialog extends BaseDialog{
|
|||||||
boolean hideDisabled = !mod.isSupported() || mod.hasUnmetDependencies() || mod.hasContentErrors();
|
boolean hideDisabled = !mod.isSupported() || mod.hasUnmetDependencies() || mod.hasContentErrors();
|
||||||
String shortDesc = mod.meta.shortDescription();
|
String shortDesc = mod.meta.shortDescription();
|
||||||
|
|
||||||
text.add("[accent]" + Strings.stripColors(mod.meta.displayName) + "\n" +
|
text.add("[accent]" + Strings.stripColors(mod.meta.displayName) + "\n"
|
||||||
(shortDesc.length() > 0 ? "[lightgray]" + shortDesc + "\n" : "")
|
+ (mod.enabled() || hideDisabled ? (shortDesc.length() > 0 ? "[lightgray]" + shortDesc : "") : Core.bundle.get(mod.failed() ? "mod.failed" : "mod.disabled")))
|
||||||
//so does anybody care about version?
|
|
||||||
//+ "[gray]v" + Strings.stripColors(trimText(item.meta.version)) + "\n"
|
|
||||||
+ (mod.enabled() || hideDisabled ? "" : Core.bundle.get(mod.failed() ? "mod.failed" : "mod.disabled")))
|
|
||||||
.ellipsis(true).top().width(300f).growX().left();
|
.ellipsis(true).top().width(300f).growX().left();
|
||||||
|
|
||||||
text.row();
|
text.row();
|
||||||
|
|||||||
+1
-1
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=765d68f9e6
|
archash=c4c3707ae8
|
||||||
|
|||||||
Reference in New Issue
Block a user