diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt index 201a522..bed38a7 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt @@ -74,14 +74,14 @@ class EffectSpelunking : Effect( it }) + noRepeat.add(dropEvent) + Bukkit.getPluginManager().callEvent(dropEvent) if (dropEvent.items.isEmpty() || dropEvent.isCancelled) { return } - noRepeat.add(dropEvent) - DropQueue(player) .addItems(*dropEvent.items.map { it.itemStack }) .push()