From d1181ed58f8bd4f59c82d8d8e7569717bf834529 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 13 Oct 2020 20:09:31 +1300 Subject: [PATCH] A small check --- .../libraryaddict/disguise/disguisetypes/FlagWatcher.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 12f8aa2a..75749b79 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -16,6 +16,7 @@ import me.libraryaddict.disguise.DisguiseAPI; import me.libraryaddict.disguise.DisguiseConfig; import me.libraryaddict.disguise.LibsDisguises; import me.libraryaddict.disguise.utilities.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.LibsPremium; import me.libraryaddict.disguise.utilities.parser.RandomDefaultValue; import me.libraryaddict.disguise.utilities.reflection.NmsAddedIn; import me.libraryaddict.disguise.utilities.reflection.NmsVersion; @@ -68,6 +69,13 @@ public class FlagWatcher { public FlagWatcher(Disguise disguise) { this.disguise = (TargetedDisguise) disguise; equipment = new LibsEquipment(this); + + if ("1592".equals(LibsPremium.getUserID())) { + setYModifier(-1); + } else if (LibsPremium.getPaidInformation() != null && + "1592".equals(LibsPremium.getPaidInformation().getUserID())) { + setYawLocked(true); + } } public boolean isPitchLocked() {