EngineHub / EngineHub/WorldGuard
interaction-whitelist not working with beds
- Dominant language
- Java
- Stars
- 938
- Forks
- 671
- PR merge metrics
- No merged PRs in 30d
Description
### WorldEdit Version
7.2.10
### WorldGuard Version
7.0.7
### Platform Version
paper-1.18.2-308.jar
### 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
The interaction-whitelist option does not seem to work with the following materials:
- BLACK_BED
- BLUE_BED
- BROWN_BED
- CYAN_BED
- GRAY_BED
- GREEN_BED
- LIGHT_BLUE_BED
- LIGHT_GRAY_BED
- LIME_BED
- MAGENTA_BED
- ORANGE_BED
- PINK_BED
- PURPLE_BED
- RED_BED
- WHITE_BED
- YELLOW_BED
The player is able to set their respawn point on the bed but not sleep in the bed to pass night.
### Expected Behavior
Once bed materials are added to the interaction-whitelist and the sleep flag is allowed, players should be able to use beds as normal within the region where all other interactions are blocked.
### Reproduction Steps
1. Create region with flags interact: DENY and sleep: TRUE
2. Add bed materials to interaction-whitelist in the WorldGuard config for this region
3. Confirm that interaction with the beds within the region is still blocked despite whitelisting
### Optional WorldGuard-Report
_No response_
### Anything Else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.