From e7ad604ebf63f134c58cc772b62bc1c2832b4e69 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 26 Aug 2021 16:50:20 +0100 Subject: [PATCH] Fixed spelunking --- .../com/willfp/ecoskills/effects/effects/EffectSpelunking.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4358a38..406971b 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 @@ -79,7 +79,7 @@ class EffectSpelunking : Effect( stack.amount = stack.amount * amount item.itemStack = stack item - }.toList()) + }.toMutableList()) noRepeat.add(dropEvent) if (dropEvent.items.isEmpty() || dropEvent.isCancelled) {