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): ");
|
System.out.print("Enter your nickname (leave empty for no nickname): ");
|
||||||
nickname = scanner.nextLine();
|
nickname = scanner.nextLine();
|
||||||
if (nickname != "")
|
if (!nickname.isEmpty())
|
||||||
nickname = "<" + nickname + "> ";
|
nickname = "<" + nickname + "> ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user