Separate the use of map name and player name (#1863)
* change use 'name' * remove schematic.name
This commit is contained in:
committed by
GitHub
parent
25bc6ebaf0
commit
95d603a035
@@ -51,7 +51,7 @@ public class MapsDialog extends FloatingDialog{
|
||||
}
|
||||
|
||||
buttons.addImageTextButton("$editor.newmap", Icon.add, () -> {
|
||||
ui.showTextInput("$editor.newmap", "$name", "", text -> {
|
||||
ui.showTextInput("$editor.newmap", "$editor.mapname", "", text -> {
|
||||
Runnable show = () -> ui.loadAnd(() -> {
|
||||
hide();
|
||||
ui.editor.show();
|
||||
@@ -177,7 +177,7 @@ public class MapsDialog extends FloatingDialog{
|
||||
t.top();
|
||||
t.defaults().padTop(10).left();
|
||||
|
||||
t.add("$editor.name").padRight(10).color(Color.gray).padTop(0);
|
||||
t.add("$editor.mapname").padRight(10).color(Color.gray).padTop(0);
|
||||
t.row();
|
||||
t.add(map.name()).growX().wrap().padTop(2);
|
||||
t.row();
|
||||
|
||||
Reference in New Issue
Block a user