Fix some vladcode
This commit is contained in:
parent
162c4bdf53
commit
6dace63cb0
@ -68,7 +68,7 @@ public class CrabClient implements Crab {
|
||||
|
||||
System.out.print("Enter your nickname (leave empty for no nickname): ");
|
||||
nickname = scanner.nextLine();
|
||||
if (nickname != "")
|
||||
if (!nickname.isEmpty())
|
||||
nickname = "<" + nickname + "> ";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user