mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-25 04:35:18 +00:00
Log captures again
This commit is contained in:
parent
f47ab01d4c
commit
c92f4ba60c
1 changed files with 6 additions and 1 deletions
|
@ -58,7 +58,12 @@ float MarioSize(bool is2d) {
|
|||
|
||||
server.PacketHandler = (c, p) => {
|
||||
{
|
||||
if (p is PlayerPacket playerPacket) c.Metadata["scenario"] = playerPacket.ScenarioNum;
|
||||
if (p is PlayerPacket playerPacket) {
|
||||
c.Metadata["scenario"] = playerPacket.ScenarioNum;
|
||||
if (string.IsNullOrEmpty(playerPacket.Hack)) {
|
||||
c.Logger.Warn($"In a capture {playerPacket.Hack}");
|
||||
}
|
||||
}
|
||||
}
|
||||
switch (p) {
|
||||
case CostumePacket:
|
||||
|
|
Loading…
Reference in a new issue