Medieval-Factions
Medieval-Factions copied to clipboard
[Bug] Config option to allow non-members to open doors is not respected
Description
A clear and concise description of the bug.
There is an option in the configuration file that, when enabled, should allow non-members to open/close a faction's doors. "nonMembersCanInteractWithDoors". This option does not do what its name implies.
Steps to Reproduce
Provide step-by-step instructions to reproduce the issue.
- Set "nonMembersCanInteractWithDoors" to true
- Find a non-member
- Have the non-member try to interact with your doors (they will be blocked from doing so)
Expected Behavior
Describe what you expected to happen instead of the bug.
I would expect non-members to be able to use faction doors when "nonMembersCanInteractWithDoors" is true.
Actual Behavior
Describe what actually happened, including any error messages if applicable.
Non-members can never open doors.
Screenshots or Logs
If applicable, add screenshots or logs to help explain the issue.
Environment Details
Java Version:
- [ ] Java 8
- [ ] Java 11
- [ ] Java 16
- [ ] Java 17
- [x] Java 19
Plugin Version:
- [ ] v5.3.0
- [ ] v5.4.0
- [ ] v5.5.0
- [x] v5.6.0
Server Software & Version:
- [ ] Spigot
- [x] Paper
Version: 1.19.4
Additional Context
Add any other context or relevant details about the issue.