WorldGuard `enable-shop` flag doesn't work if `WORLDGUARD_INTEGRATION` is disabled
Phoenix616 opened this issue ยท 0 comments
What is happening?
The enable-shop
is registered once WorldGuard is detected no matter if WORLDGUARD_INTEGRATION
is enabled or not.
Enabling WORLDGUARD_INTEGRATION
forces that shops can only be created in regions though so enabling it might not be what a user intends.
What did you expect to happen?
Either
WORLDGUARD_INTEGRATION
to toggle the registration of the flag and a separate option to toggle the requirement for a region to exist for a shops being created
or
- the flag to always work even if the integration is option is disabled and the option working like now
Plugin Version
3.12.1
Plugin Config
Default
Server Version
Doesn't matter
Server Log
doesn't matter >;)
What other plugins are you running?
WorldGuard (any supported version)
Agreements
- I have checked if there are already similar issues open.
- I am running the latest development version available from https://ci.minebench.de/job/ChestShop-3/.
- The version has support for this type of issue.
- I have provided all requested information and agree to the terms of the project's license
Additional context
More a note for me/anyone who wants to create a PR/notices this behaviour then anything else.