Separate the use of map name and player name (#1863)

* change use 'name'

* remove schematic.name
This commit is contained in:
Olexandr Nesterenko
2020-04-14 17:04:05 +03:00
committed by GitHub
parent 25bc6ebaf0
commit 95d603a035
2 changed files with 3 additions and 3 deletions

View File

@@ -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();