Hotfixes thrown item damage (#3013)

* Initial

* A

* Bye bye!
This commit is contained in:
Swept
2021-01-17 08:32:31 +00:00
committed by GitHub
parent 28b129276a
commit 5a248bdd86

View File

@@ -45,10 +45,6 @@ namespace Content.Server.GameObjects.Components.Projectiles
// Raise an event.
EntitySystem.Get<InteractionSystem>().ThrowCollideInteraction(User, Owner, entity, Owner.Transform.Coordinates);
}
if (entity.TryGetComponent(out IDamageableComponent damage))
{
damage.ChangeDamage(DamageType.Blunt, 10, false, Owner);
}
// Stop colliding with mobs, this mimics not having enough velocity to do damage
// after impacting the first object.