From 8d75a07f52a2162468454aec4867c2d9d9f905c1 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 18 Feb 2022 04:47:02 +1300 Subject: [PATCH] Fix error --- .../me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 2 +- plugin/src/main/resources/plugin.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index b6ba7818..8e9da61b 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -94,7 +94,7 @@ public class FlagWatcher { public void setNameYModifier(float yModifier) { this.nameYModifier = yModifier; - if (!DisguiseConfig.isMovementPacketsEnabled() && !getDisguise().isDisguiseInUse()) { + if (!DisguiseConfig.isMovementPacketsEnabled() || !getDisguise().isDisguiseInUse()) { return; } diff --git a/plugin/src/main/resources/plugin.yml b/plugin/src/main/resources/plugin.yml index 24c9b001..f879ef45 100644 --- a/plugin/src/main/resources/plugin.yml +++ b/plugin/src/main/resources/plugin.yml @@ -53,7 +53,7 @@ commands: permission: libsdisguises.seecmd.disguiseclone description: Copy a disguise (or entity) and use it later. disguiseviewself: - aliases: [ dviewself, dvs, disguisevs, disvs, vsd, viewselfdisguise, viewselfd, selfdisguise, selfdisg, selfd ] + aliases: [ dviewself, dvs, disguisevs, disvs, vsd, viewselfdisguise, viewselfd, selfdisguise, selfdisg, selfd, toggleselfdisguise ] permission: libsdisguises.seecmd.viewself description: Toggle seeing your own disguise on or off. disguiseviewbar: