mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-01 05:16:28 +00:00
Fixed spelunking overflow
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user