From 1d7fd615569725b798ba5244cd05ca27c3fa9ba6 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 27 Apr 2020 17:17:48 +1200 Subject: [PATCH] Set no gravity to stop appearing in disguise parser --- .../me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 4ee77006..4e8e791d 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -15,6 +15,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.parser.RandomDefaultValue; import me.libraryaddict.disguise.utilities.reflection.NmsAddedIn; import me.libraryaddict.disguise.utilities.reflection.NmsVersion; import me.libraryaddict.disguise.utilities.reflection.ReflectionManager; @@ -412,6 +413,7 @@ public class FlagWatcher { return getData(MetaIndex.ENTITY_NO_GRAVITY); } + @RandomDefaultValue public void setNoGravity(boolean noGravity) { setData(MetaIndex.ENTITY_NO_GRAVITY, noGravity); sendData(MetaIndex.ENTITY_NO_GRAVITY);