1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-08 09:27:45 +00:00

Spawn the player with at least SOME health

This commit is contained in:
Joshua Goins 2025-03-12 18:22:17 -04:00
parent 60e4713b96
commit 181d127fb5

View file

@ -361,9 +361,13 @@ async fn main() {
op_code: IPCOpCode::PlayerSpawn,
server_id: 0,
timestamp: timestamp_secs(),
data: IPCStructData::PlayerSpawn(
PlayerSpawn::default(),
),
data: IPCStructData::PlayerSpawn(PlayerSpawn {
hp_curr: 100,
hp_max: 100,
mp_curr: 100,
mp_max: 100,
..Default::default()
}),
};
let response_packet = PacketSegment {