fix: Removed StunRequest and DisarmRequest EventSinks (#1781)

This commit is contained in:
Marcelo Paez Sequeira 2024-05-19 18:12:58 -03:00 committed by GitHub
parent f2a33706ab
commit 1cb798d807
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 15 deletions

View file

@ -15,6 +15,7 @@
using System.Buffers;
using Server.ContextMenus;
using Server.Items;
namespace Server.Network;
@ -267,7 +268,7 @@ public static class IncomingExtendedCommandPackets
return;
}
EventSink.InvokeStunRequest(from);
Fists.StunRequest(from);
}
public static void DisarmRequest(NetState state, SpanReader reader)
@ -279,7 +280,7 @@ public static class IncomingExtendedCommandPackets
return;
}
EventSink.InvokeDisarmRequest(from);
Fists.DisarmRequest(from);
}
public static void StatLockChange(NetState state, SpanReader reader)