Fix a lot more errors.

This commit is contained in:
Vera Aguilera Puerto
2021-12-04 12:35:33 +01:00
parent bfccc647be
commit 424c83e39c
20 changed files with 176 additions and 241 deletions

View File

@@ -17,12 +17,12 @@ namespace Content.Shared.Throwing
public class ThrownEventArgs : EventArgs
{
public ThrownEventArgs(IEntity user)
public ThrownEventArgs(EntityUid user)
{
User = user;
}
public IEntity User { get; }
public EntityUid User { get; }
}
/// <summary>
@@ -34,14 +34,14 @@ namespace Content.Shared.Throwing
/// <summary>
/// Entity that threw the item.
/// </summary>
public IEntity User { get; }
public EntityUid User { get; }
/// <summary>
/// Item that was thrown.
/// </summary>
public IEntity Thrown { get; }
public EntityUid Thrown { get; }
public ThrownEvent(IEntity user, IEntity thrown)
public ThrownEvent(EntityUid user, EntityUid thrown)
{
User = user;
Thrown = thrown;