diff --git a/eco-core/core-backend/src/main/kotlin/com/willfp/eco/internal/drops/impl/EcoDropQueue.kt b/eco-core/core-backend/src/main/kotlin/com/willfp/eco/internal/drops/impl/EcoDropQueue.kt index 2927beb6..93c872f1 100644 --- a/eco-core/core-backend/src/main/kotlin/com/willfp/eco/internal/drops/impl/EcoDropQueue.kt +++ b/eco-core/core-backend/src/main/kotlin/com/willfp/eco/internal/drops/impl/EcoDropQueue.kt @@ -73,12 +73,10 @@ open class EcoDropQueue(val player: Player) : InternalDropQueue { world.dropItem(location, drop!!).velocity = Vector() } if (xp > 0) { - val event = PlayerExpChangeEvent(player, xp) - Bukkit.getPluginManager().callEvent(event) val orb = world.spawnEntity(player.location.add(0.0, 0.2, 0.0), EntityType.EXPERIENCE_ORB) as ExperienceOrb orb.velocity = Vector(0, 0, 0) - orb.experience = event.amount + orb.experience = xp } } else { for (drop in items) { @@ -94,4 +92,4 @@ open class EcoDropQueue(val player: Player) : InternalDropQueue { init { location = player.location } -} \ No newline at end of file +}