Open Parties and Claims

Open Parties and Claims

25M Downloads

[FORGE] Duplication Exploit / EnhancedAI

Camawama opened this issue ยท 5 comments

commented

Describe the bug
When using EnhancedAI 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

Steps to Produce:

  • Install EnhancedAI
  • Install OpenPAC
  • Claim Land
  • Wait for Miner Zombie to break blocks and observe
commented

Thanks, I'll look into it!

commented

Fixed on their end now.

commented

So yeah... Seems unlikely I'll use the event. It's fired for blocks that aren't even to be broken, so it's pretty annoying to deal with. I'll look into it more though.

commented

Remember now why I didn't use this event. It's spammed like crazy. Also, Level.destroyBlock already takes the entity as an argument and returns a boolean on whether it succeeds.
I'll probably make use of the event though and optimize it to ignore most of the spam.