Label localization support

This commit is contained in:
Anuken
2022-04-14 17:01:06 -04:00
parent 29810c0445
commit 037d028465
2 changed files with 17 additions and 3 deletions

View File

@@ -824,9 +824,10 @@ public class HudFragment{
table.clicked(() -> {
if(state.rules.objectives.size > 0){
var first = state.rules.objectives.first();
if(first.details() != null){
var details = first.details();
if(details != null){
//TODO this could be much better.
ui.showInfo(first.details);
ui.showInfo(details);
}
}
});