Blacklisted ui-lib (startup crash)

This commit is contained in:
Anuken
2022-10-20 19:13:39 -04:00
parent 9a28e97774
commit 7409ff7fd8
3 changed files with 21 additions and 9 deletions

View File

@@ -254,9 +254,14 @@ public class ModsDialog extends BaseDialog{
text.row();
String tooltip = null;
if(item.isOutdated()){
text.labelWrap("@mod.outdatedv7").growX();
text.row();
}else if(item.isBlacklisted()){
text.labelWrap("@mod.blacklisted").growX();
text.row();
}else if(!item.isSupported()){
text.labelWrap(Core.bundle.format("mod.requiresversion", item.meta.minGameVersion)).growX();
text.row();