LICENSE -> UNLICENSE

This commit is contained in:
Sen 2025-03-20 11:32:45 +01:00
parent 80cf16ada5
commit 2b937219ac
3 changed files with 15 additions and 3 deletions

View file

@ -237,7 +237,9 @@ public class GuiCreate extends Gui implements ActButton.Callback, Textbox.Callba
"Vorlage" : (dim.getType() == DimType.PLANET ? "Heimplanet" : "Dimension")) + ": ")) +
(dim.getDimensionId() >= UniverseRegistry.MORE_DIM_ID ? dim.getCustomName() :
dim.getFormattedName(false)));
this.descLines.setText(Util.buildLines(dim.getFormattedName(true).split(" / ")));
String name = dim.getFormattedName(true);
int index = name.indexOf(" / ");
this.descLines.setText(index >= 0 ? Util.buildLines(name.substring(index + " / ".length()).split(" / ")) : "");
}
public void use(ActButton button, Mode mode)