0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-25 04:35:18 +00:00
This commit is contained in:
Sanae 2022-02-22 14:06:14 -06:00
parent f21bfb7425
commit 954f9db537

View file

@ -37,7 +37,9 @@ bool flipEnabled = Settings.Instance.Flip.EnabledOnStart;
float MarioSize(bool is2d) => is2d ? 180 : 160;
server.PacketHandler = (c, p) => {
Console.WriteLine($"{c.Id} {p}");
if (p is PlayerPacket pp) {
Console.WriteLine($"{c.Id} hack {pp.Hack}");
}
switch (p) {
case CostumePacket:
ClientSyncShineBag(c);