9
0
mirror of https://github.com/Auxilor/EcoMobs.git synced 2026-01-04 15:41:33 +00:00
This commit is contained in:
Auxilor
2023-03-28 21:19:12 +01:00
parent 299d3ee1d6
commit 8d37635381
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ object TriggerKillBoss : Trigger("kill_boss") {
@EventHandler(ignoreCancelled = true)
fun handle(event: BossKillEvent) {
val killer = event.killer ?: return
val entity = event.boss.entity ?: return
val entity = event.boss.entity
this.dispatch(
killer,