Merge pull request #332 from nhanledev/patch-1

Fix Sculk block break does not drop EXP
This commit is contained in:
Will FP 2023-03-11 15:01:34 +00:00 committed by GitHub
commit 792977e5ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}