mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-04 15:41:36 +00:00
Fixed more bugs
This commit is contained in:
@@ -66,7 +66,7 @@ class EffectSpelunking : Effect(
|
||||
val dropEvent = BlockDropItemEvent(block, block.state, player, event.items)
|
||||
Bukkit.getPluginManager().callEvent(dropEvent)
|
||||
|
||||
if (dropEvent.items.isEmpty()) {
|
||||
if (dropEvent.items.isEmpty() || dropEvent.isCancelled) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user