Use ActorComponent instead of IActorComponent or BasicActorComponent. (#3966)
This commit is contained in:
committed by
GitHub
parent
3319dc0599
commit
462cddf860
@@ -192,7 +192,7 @@ namespace Content.Server.GameObjects.EntitySystems.Click
|
||||
/// <param name="uid"></param>
|
||||
internal void UseItemInHand(IEntity entity, EntityCoordinates coords, EntityUid uid)
|
||||
{
|
||||
if (entity.HasComponent<BasicActorComponent>())
|
||||
if (entity.HasComponent<ActorComponent>())
|
||||
{
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user