mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-20 10:03:02 -04:00
Proper coloring in the combat log instead of always yellow (miss)
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ public class CombatCommandCommon {
|
||||
combatSpam.setDefenderPosition(target.getLocation().getPosition());
|
||||
combatSpam.setInfo(info);
|
||||
combatSpam.setAttackName(new StringId("cmd_n", command.getName()));
|
||||
combatSpam.setSpamType(CombatSpamFilterType.ALL);
|
||||
combatSpam.setSpamType(info.isSuccess() ? CombatSpamFilterType.SELF : CombatSpamFilterType.ALL);
|
||||
return combatSpam;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user