From 9ee7eef2919feffe4e0695494d4027e8ec011808 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 3 Jun 2025 19:45:05 +0200 Subject: Add pedestrians (and custom spawn locations) --- server/protocol/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/protocol/src/lib.rs') diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 4f0d5d67..db65ddd2 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -116,6 +116,9 @@ pub enum PacketS { class: PlayerClass, #[serde(skip)] // TODO fix bincode can still set id id: Option, // used entity bots that cant receive a response + #[serde(skip)] // TODO fix bincode aswell + #[bincode(with_serde)] + position: Option, // used entity bots that spawn in different locations }, Leave { player: PlayerID, -- cgit v1.2.3-70-g09d2