mirror of
https://github.com/SoDOff-Project/sodoff-mmo.git
synced 2025-10-11 08:18:49 -07:00
Honestly should probably catch this exception. I foresee it occuring very commonly. While it shouldn't halt the server (except in visual studio debug), it's annoying to see.
This commit is contained in:
parent
caefae097a
commit
dc76612b61
@ -28,7 +28,8 @@ class RacingPMHandler : CommandHandler
|
||||
cmd.Add("p", p);
|
||||
NetworkPacket packet = NetworkObject.WrapObject(1, 13, cmd).Serialize();
|
||||
|
||||
client.Room.Send(packet);
|
||||
if (client.Room != null) // Throws an exception in Eat my Dust when the player fires their weapon before fully in the room.
|
||||
client.Room.Send(packet);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user