mirror of
https://github.com/songoda/EpicBosses.git
synced 2025-01-06 23:37:33 +01:00
Fixed custom skill messages
This commit is contained in:
parent
6c276e3b26
commit
e2b3cad2ad
@ -85,6 +85,10 @@ public class BossSkillListener implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
String customMessage = skill.getCustomMessage();
|
||||
if (customMessage != null)
|
||||
masterMessage = Arrays.asList(skill.getCustomMessage());
|
||||
|
||||
List<LivingEntity> targettedEntities = this.bossSkillManager.getTargetedEntities(activeBossHolder, skill, activeBossHolder.getLivingEntity().getLocation(), damagingEntity);
|
||||
|
||||
this.bossSkillManager.handleSkill(masterMessage, skill, targettedEntities, activeBossHolder, true, false);
|
||||
|
Loading…
Reference in New Issue
Block a user