Removed the Sender object from events. If you needed this field, add it to the event class.

This commit is contained in:
Acruid
2020-02-19 14:39:00 -08:00
parent c51533686b
commit e719745b10
15 changed files with 50 additions and 38 deletions

View File

@@ -65,7 +65,7 @@ namespace Content.Server.GameObjects.EntitySystems
base.Shutdown();
}
private static void HandleContainerModified(object sender, ContainerModifiedMessage args)
private static void HandleContainerModified(ContainerModifiedMessage args)
{
if (args.Container.Owner.TryGetComponent(out IHandsComponent handsComponent))
{