WorldGuard

WorldGuard

8M Downloads

on-place deny flag in blacklist removes items from player's inventory

Closed this issue ยท 1 comments

commented

WorldEdit Version

7.2.15

WorldGuard Version

7.0.9

Platform Version

git-paper-164

Confirmations

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

Bug Description

The on-place=deny flag is set in Blacklist file, eg. for chests. Player enters the world (eg. spawn) and tries to select the chest in their inventory but the chest (single or stacked) disappears from their inventory as soon as they select it or click on it. Items do not disappear when the on-place=deny flag in Blacklist file is commented out. This only happens when blacklist_as_whitelist option is set to true in the global config.yml file.

Expected Behavior

Items listed in Blacklist file should not disappear from an inventory at all, regardless of the flags or global options set.

Reproduction Steps

  1. set blacklist_as_whitelist to true in global config.yml
  2. set the on-place=deny flag in Blacklist file for the particular item (eg. chest) in the particular world (eg. spawn)
  3. click on the chest in your inventory or try to select it via item selector
  4. chest (single or stacked) disappears from your inventory

Optional WorldGuard-Report

No response

Anything Else?

No response

commented

This only happens when blacklist_as_whitelist option is set to true in the global config.yml file.

would suggest not doing that.