location command fix when UseLocationsInSameWorld is enabled

locations can be used in another world with bypass perm when UseLocationsInSameWorld is enabled
This commit is contained in:
SuperRonanCraft
2023-05-11 23:05:53 -04:00
parent 1e903e447b
commit 671d422683
6 changed files with 13 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ Settings:
DisableUpdater: false
Logger:
Enabled: true #Log all things rtp related to the log.log file
LogToConsole: true
LogToConsole: false
Format: 'yyyy-MM-dd HH:mm:ss'
Default:

View File

@@ -14,6 +14,7 @@ Enabled: false #enable the locations feature
RequirePermission: false #Require players to have `betterrtp.location.<world_name>`
UseLocationIfAvailable: true #Will choose a location upon `/rtp` if location(s) is available in the world
UseLocationsInSameWorld: true #Will only choose locations in same world rtp'ing in
# If UseLocationsInSameWorld is set to true, use `betterrtp.bypass.location` to allow rtp'ing to locations in other worlds
Locations:
- main_loc: