aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/state.rs')
-rw-r--r--mumd/src/state.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs
index 0de29f1..016783b 100644
--- a/mumd/src/state.rs
+++ b/mumd/src/state.rs
@@ -36,7 +36,6 @@ impl State {
packet_sender: mpsc::UnboundedSender<ControlPacket<Serverbound>>,
command_sender: mpsc::UnboundedSender<Command>,
connection_info_sender: watch::Sender<Option<ConnectionInfo>>,
- username: String,
) -> Self {
Self {
server: Server::new(),
@@ -87,7 +86,7 @@ impl State {
socket_addr,
host,
accept_invalid_cert,
- )));
+ ))).unwrap();
(true, Ok(None))
}
Command::Status => {