anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: archy-x/aureliumskills
Issue: Placed dirt, sand, etc. will still drop loot items

### Server software and version

purpur 1.19.2

### Expected behavior

Placed dirt will not drop loot items

### Actual behavior

Placed dirt will drop loot items, resulting in unlimited items


### How to reproduce

1、place dirt
2、dig the dirt
3、pick up dirt and loot items
4、place dirt...

### Additional information

I configured custom loot file
https://www.youtube.com/watch?v=gCAF7hWudMU

### Agreements

- [X] I am running the latest version of Aurelium Skills
- [X] I am not using an unsupported server software (https://wiki.aurelium.dev/skills/other/incompatibilities)
- [X] My version of Minecraft is supported by Aurelium Skills

Changed files:
src/main/java/com/archyx/aureliumskills/loot/handler/BlockLootHandler.java

diff --git a/src/main/java/com/archyx/aureliumskills/loot/handler/BlockLootHandler.java b/src/main/java/com/archyx/aureliumskills/loot/handler/BlockLootHandler.java
index 907d37bb..e1cb9a97 100644
--- a/src/main/java/com/archyx/aureliumskills/loot/handler/BlockLootHandler.java
+++ b/src/main/java/com/archyx/aureliumskills/loot/handler/BlockLootHandler.java
@@ -3,6 +3,7 @@ package com.archyx.aureliumskills.loot.handler;
 import com.archyx.aureliumskills.AureliumSkills;
 import com.archyx.aureliumskills.ability.Ability;
 import com.archyx.aureliumskills.api.event.LootDropCause;
+import com.archyx.aureliumskills.configuration.Option;
 import com.archyx.aureliumskills.configuration.OptionL;
 import com.archyx.aureliumskills.data.PlayerData;
 import com.archyx.aureliumskills.skills.Skill;
@@ -45,6 +46,11 @@ public abstract class BlockLootHandler extends LootHandler implements Listener {
         Block block = event.getBlock();
         if (getSource(block) == null) return;
 
+        // Check block replace
+        if (OptionL.getBoolean(Option.CHECK_BLOCK_REPLACE) && plugin.getRegionManager().isPlacedBlock(block)) {
+            return;
+        }
+
         Player player = event.getPlayer();
         if (blockAbility(player)) return;