From 5a248bdd86eea9e0a2ca3af3dcc3f72750cee25d Mon Sep 17 00:00:00 2001 From: Swept Date: Sun, 17 Jan 2021 08:32:31 +0000 Subject: [PATCH] Hotfixes thrown item damage (#3013) * Initial * A * Bye bye! --- .../GameObjects/Components/Projectiles/ThrownItemComponent.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Content.Server/GameObjects/Components/Projectiles/ThrownItemComponent.cs b/Content.Server/GameObjects/Components/Projectiles/ThrownItemComponent.cs index 089a422711..9082154b55 100644 --- a/Content.Server/GameObjects/Components/Projectiles/ThrownItemComponent.cs +++ b/Content.Server/GameObjects/Components/Projectiles/ThrownItemComponent.cs @@ -45,10 +45,6 @@ namespace Content.Server.GameObjects.Components.Projectiles // Raise an event. EntitySystem.Get().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.