Crash fixes

This commit is contained in:
Anuken
2018-08-15 16:26:08 -04:00
parent d07fd1bbfe
commit 3746344cba
4 changed files with 7 additions and 5 deletions

View File

@@ -74,7 +74,9 @@ public class JoinDialog extends FloatingDialog{
add.shown(() -> {
add.getTitleLabel().setText(renaming != null ? "$text.server.edit" : "$text.server.add");
field.setText(renaming.ip);
if(renaming != null){
field.setText(renaming.ip);
}
});
shown(() -> {