From d4c1c7ecb5688ef64f45425d9ac8e7ddeb8e8602 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Wed, 3 Feb 2021 10:51:08 +0100 Subject: Fix commands Commands now operate on the local file system, but on the remote world --- src/net/cargo.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/cargo.rs b/src/net/cargo.rs index b05944c..34e6bb4 100644 --- a/src/net/cargo.rs +++ b/src/net/cargo.rs @@ -24,7 +24,9 @@ pub enum Cargo { /// Client -> Server: Request to apply the given matrix to the item with the provided id. /// If the matrix cannot be applied to an item with the given id, it will do nothing. ApplyMatrix((usize, Matrix3)), - /// Client <-> Remove the item with the given id. + /// Client <-> Server: Clear all data from the world. + ClearAll, + /// Client <-> Server: Remove the item with the given id. Remove(usize), /// Server -> Client: Add all of the data additively to the map AddMapData(World), -- cgit v1.2.3-70-g09d2