]> git.lizzy.rs Git - mt_net.git/commitdiff
Fix ToCltPkt::InvFormspec
authorLizzy Fleckenstein <eliasfleckenstein@web.de>
Sat, 25 Feb 2023 19:45:15 +0000 (20:45 +0100)
committerLizzy Fleckenstein <eliasfleckenstein@web.de>
Sat, 25 Feb 2023 19:45:15 +0000 (20:45 +0100)
src/to_clt.rs

index deb0bb36482aa7d5a085fa181ac58e7d919a230d..dae59acae8392c8508febb269414ca243cf39a21 100644 (file)
@@ -201,7 +201,7 @@ pub enum ToCltPkt {
         privs: HashSet<String>,
     } = 65,
     InvFormspec {
-        #[mt(size = "u32")]
+        #[mt(len = "u32")]
         formspec: String,
     } = 66,
     DetachedInv {