KeenSoftwareHouse / SpaceEngineers

2.93k stars 896 forks source link

Update MyEngineerToolBase.cs #573

Closed Dummy0815 closed 7 years ago

Dummy0815 commented 7 years ago

As the Owner is protected there is no chance to get the EntityId of the Attacker in a 'MyAPIGateway.Session.DamageSystem.RegisterBeforeDamageHandler', and therefor no chance to get the correct relation between the attacker and the damaged block. (IMyEngineerToolBase has also to be extended)