From 1fcc0bbea9730f4a4c4922e390d2b02dd3b14596 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 9 Apr 2020 12:09:05 +1200 Subject: [PATCH] Add comment to config to warn customers that changing command visibility also affects command blocks --- pom.xml | 2 +- .../me/libraryaddict/disguise/disguisetypes/Disguise.java | 5 +++-- src/main/resources/config.yml | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 478f8f04..3a778af4 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ LibsDisguises LibsDisguises - 10.0.3 + 10.0.3-SNAPSHOT exec:java clean install diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java index 2f1ea027..5d782316 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -80,10 +80,11 @@ public abstract class Disguise { * If set, how long before disguise expires */ private long disguiseExpires; - @Getter /** * For when plugins may want to assign custom data to a disguise, such as who owns it - */ private final HashMap customData = new HashMap<>(); + */ + @Getter + private final HashMap customData = new HashMap<>(); public Disguise(DisguiseType disguiseType) { this.disguiseType = disguiseType; diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 77d9a8de..27b2f2bb 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -22,6 +22,7 @@ Permissions: # The permissions for commands are a simple 'libsdisguises.seecmd.command' where 'command' can be # 'disguise', 'undisguise' etc. A simple 'libsdisguises.seecmd' permission may also work for children # If you change this while the server is running, players may need to rejoin for it to take effect + # Remember that command blocks need 'TRUE' or 'OP' to use the commands. # TRUE = Everyone can see this, the default. Can be negated with permissions # FALSE = No one can see this without permissions to allow it # OP = Only operators can see this