Use MassiveCore setDamage

This commit is contained in:
Olof Larsson 2015-01-19 10:08:29 +01:00
parent c81d7d8794
commit 91bdeb4f3c

View File

@ -960,7 +960,7 @@ public class EngineMain extends EngineAbstract
if (damage > 0.0 && udefender.hasFaction() && ownTerritory && MConf.get().territoryShieldFactor > 0)
{
double newDamage = damage * (1D - MConf.get().territoryShieldFactor);
event.setDamage(newDamage);
MUtil.setDamage(event, newDamage);
// Send message
if (notify)