aboutsummaryrefslogtreecommitdiff
path: root/server/src/commands.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-10 23:38:19 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-10 23:38:22 +0100
commitc49f0a8afd405e5fe8f0ed79c034f9a9b80674cf (patch)
tree0e143d70c658858f2294da4cf7666618c75e46de /server/src/commands.rs
parent59c25d65ce9b61e6eb964adf0934127df9848e9d (diff)
downloadhurrycurry-c49f0a8afd405e5fe8f0ed79c034f9a9b80674cf.tar
hurrycurry-c49f0a8afd405e5fe8f0ed79c034f9a9b80674cf.tar.bz2
hurrycurry-c49f0a8afd405e5fe8f0ed79c034f9a9b80674cf.tar.zst
remove editor redirect feature
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r--server/src/commands.rs15
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(