Merge pull request #332 from nhanledev/patch-1
Fix Sculk block break does not drop EXP
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user