mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Merge pull request #332 from nhanledev/patch-1
Fix Sculk block break does not drop EXP
This commit is contained in:
commit
792977e5ce
@ -62,6 +62,10 @@ class EnchantmentTelekinesis(
|
||||
val player = event.player
|
||||
val block = event.block
|
||||
|
||||
if (!player.hasEnchantActive(enchant)) {
|
||||
return
|
||||
}
|
||||
|
||||
if (!AntigriefManager.canBreakBlock(player, block)) {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user