mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-04 19:46:27 +00:00
Allow updating the compass target to be optional (#1937)
If `compass-towards-home-perm` is enabled in the EssentialsX config, then the permission `essentials.home.compass` is checked before changing the player's compass target. Closes #1918.
This commit is contained in:
parent
27d9f3725a
commit
4873beb100
4 changed files with 30 additions and 6 deletions
|
@ -306,4 +306,6 @@ public interface ISettings extends IConf {
|
|||
List<String> getDefaultEnabledConfirmCommands();
|
||||
|
||||
boolean isConfirmCommandEnabledByDefault(String commandName);
|
||||
|
||||
boolean isCompassTowardsHomePerm();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue