Enhanced AI

Enhanced AI

7M Downloads

[FORGE] Duplication Exploit / OpenPAC Compat

Camawama opened this issue ยท 2 comments

commented

Describe the bug
When using your mod with Open Parties and Claims, I found a duplication exploit with the miner zombie. If you claim land and the miner attempts to break a block, it will prevent the block from breaking but still drops the item.

Versions where you encountered the problem (Use the exact version numbers, not 'latest' or similar):

  • Minecraft: 1.20.1
  • Forge: 1.20.1-47.2.0
  • Enhanced AI: 2.0.5
  • InsaneLib: 1.12.1

Steps to reproduce

  1. Install EnhancedAI
  2. Install OpenPAC
  3. Claim Land
  4. Wait for Miner Zombie to break blocks and observe

Screenshots
image

Logs
Use a paste site (pastebin, gist) to send the game logs (both logs and crash if applicable)
I don't think logs are really needed for this report.

Can the issue be reproduced with EnhancedAI only (or with a minimal set of mods)?
Have not tested but most likely.

commented

EnhancedAI already uses the LivingDestroyBlockEvent that can be canceled to prevent the mob from breaking blocks and drops. There's nothing else I can do here