Fix error

This commit is contained in:
libraryaddict 2022-02-18 04:47:02 +13:00
parent bc277fe2f0
commit 8d75a07f52
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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: