diff options
Diffstat (limited to 'server/protocol')
-rw-r--r-- | server/protocol/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 24e547f6..7c815254 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -131,7 +131,7 @@ pub enum PacketS { Interact { player: PlayerID, hand: Hand, - #[serde(deserialize_with = "deser_ivec2_opt")] + #[serde(deserialize_with = "deser_ivec2_opt", default)] #[bincode(with_serde)] pos: Option<IVec2>, }, |