Set no gravity to stop appearing in disguise parser
This commit is contained in:
parent
5b5cdd0395
commit
1d7fd61556
@ -15,6 +15,7 @@ import me.libraryaddict.disguise.DisguiseAPI;
|
|||||||
import me.libraryaddict.disguise.DisguiseConfig;
|
import me.libraryaddict.disguise.DisguiseConfig;
|
||||||
import me.libraryaddict.disguise.LibsDisguises;
|
import me.libraryaddict.disguise.LibsDisguises;
|
||||||
import me.libraryaddict.disguise.utilities.DisguiseUtilities;
|
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.NmsAddedIn;
|
||||||
import me.libraryaddict.disguise.utilities.reflection.NmsVersion;
|
import me.libraryaddict.disguise.utilities.reflection.NmsVersion;
|
||||||
import me.libraryaddict.disguise.utilities.reflection.ReflectionManager;
|
import me.libraryaddict.disguise.utilities.reflection.ReflectionManager;
|
||||||
@ -412,6 +413,7 @@ public class FlagWatcher {
|
|||||||
return getData(MetaIndex.ENTITY_NO_GRAVITY);
|
return getData(MetaIndex.ENTITY_NO_GRAVITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RandomDefaultValue
|
||||||
public void setNoGravity(boolean noGravity) {
|
public void setNoGravity(boolean noGravity) {
|
||||||
setData(MetaIndex.ENTITY_NO_GRAVITY, noGravity);
|
setData(MetaIndex.ENTITY_NO_GRAVITY, noGravity);
|
||||||
sendData(MetaIndex.ENTITY_NO_GRAVITY);
|
sendData(MetaIndex.ENTITY_NO_GRAVITY);
|
||||||
|
Loading…
Reference in New Issue
Block a user