Forgot a break; in the switch statement
This commit is contained in:
parent
f37658783b
commit
f946f6a0b9
@ -55,6 +55,7 @@ public class Network {
|
||||
break;
|
||||
case "leave":
|
||||
nodes.get(node).leave();
|
||||
break;
|
||||
default:
|
||||
System.out.println("Unknown command.");
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user