diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecobosses/bosses/EcoBoss.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecobosses/bosses/EcoBoss.kt index 00a6897..69a730c 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecobosses/bosses/EcoBoss.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecobosses/bosses/EcoBoss.kt @@ -334,7 +334,7 @@ class EcoBoss( xp.modify(event.event) for ((index, damager) in entity.topDamagers.withIndex()) { - val rewards = commandRewards[index] ?: continue + val rewards = commandRewards[index + 1] ?: continue val damagerPlayer = Bukkit.getPlayer(damager.uuid) ?: continue for (reward in rewards) { reward.reward(damagerPlayer)