Fixed sending self damage message.

This commit is contained in:
MobiusDev
2019-01-14 05:44:23 +00:00
parent dafe02deda
commit ae59dda434
12 changed files with 83 additions and 36 deletions

View File

@@ -16792,9 +16792,12 @@ public final class L2PcInstance extends L2Playable
Olympiad.getInstance().notifyCompetitorDamage(this, damage, getOlympiadGameId());
}
SystemMessage sm = new SystemMessage(SystemMessageId.YOU_DID_S1_DMG);
sm.addNumber(damage);
sendPacket(sm);
if (this != target)
{
SystemMessage sm = new SystemMessage(SystemMessageId.YOU_DID_S1_DMG);
sm.addNumber(damage);
sendPacket(sm);
}
}
/**