WorldGuard icon indicating copy to clipboard operation
WorldGuard copied to clipboard

Allays are not correctly protected

Open Joo200 opened this issue 3 years ago • 0 comments

WorldEdit Version

7.0.11-SNAPSHOT

WorldGuard Version

7.0.8-SNAPSHOT

Platform Version

all

Confirmations

  • [X] I am using the most recent Minecraft release.
  • [X] I am using a version of WorldEdit compatible with my Minecraft version.
  • [X] I am using a version of WorldGuard compatible with my Minecraft version.
  • [X] I am using the latest or recommended version of my platform software.
  • [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • [X] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Allays are not correctly protected. They can pickup items in a region with the flag item-pickup set to deny.

Expected Behavior

EntityPickupItemEvent should be denied when the Allay's owner can't pickup items at that place.

Reproduction Steps

  1. Create a region with item-pickup deny
  2. Spawn an Allay
  3. Drop items

Optional WorldGuard-Report

No response

Anything Else?

No response

Joo200 avatar Jun 15 '22 19:06 Joo200