diff options
Diffstat (limited to 'server/src/commands.rs')
| -rw-r--r-- | server/src/commands.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs index ea0599dc..36c7ccde 100644 --- a/server/src/commands.rs +++ b/server/src/commands.rs @@ -102,11 +102,6 @@ enum Command { message_id: String, arguments: Vec<String>, }, - /// Return to the map editor - #[clap(alias = "e", alias = "editor")] - Edit, - #[clap(hide = true)] - SetEditorAddress { url: String }, /// Set your players hand item (CHEAT) #[cfg(feature = "cheats")] #[clap(alias = "give")] @@ -380,16 +375,6 @@ impl Server { timeout: None, }); } - Command::Edit => { - let addr = self - .editor_address - .clone() - .ok_or(tre!("s.error.not_editor_session"))?; - replies.push(PacketC::Redirect { uri: vec![addr] }); - } - Command::SetEditorAddress { url } => { - self.editor_address = Some(url); - } Command::Demands => { replies.push(PacketC::ServerMessage { message: Message::Text( |