EngineHub / EngineHub/WorldGuard

Confuse handling of lectern

Open
#1,950 2 comments 0 reactions 0 assignees View on GitHub
status:pending type:bug
Dominant language
Java
Stars
938
Forks
671
PR merge metrics
No merged PRs in 30d

Description

### WorldEdit Version

7.2.12

### WorldGuard Version

7.0.8-beta-01

### Platform Version

git-Paper-141 (MC: 1.19.2)

### 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

If a player want to take a book from a lectern, the region need the activated "interact" flag (to open the GUI) and the "chest-access" flag to take the book.

But if the player wants to put the book back on the lectern, he must have building rights. This makes no sense compared to a normal inventory block.

### Expected Behavior

With activated "interact" flag, the player has access to put the book back to the lectern too. He does not need build-permission for the region.

### Reproduction Steps

1. Region with a region-owner, "interact = true", "chest-access = true"
2. Testplayer take a book
3. Testplayer can't put the book back

### Optional WorldGuard-Report

_No response_

### Anything Else?

Now, the general question: was it planned this way and can it be changed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.