From 291942b9b4fef22bab68d8068878c72966a21397 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 13 Jun 2016 21:39:48 +1200 Subject: [PATCH] Update to 9.0.7 --- pom.xml | 2 +- .../disguise/disguisetypes/Disguise.java | 2 + .../disguise/disguisetypes/RabbitType.java | 62 +++++++++---------- 3 files changed, 34 insertions(+), 32 deletions(-) diff --git a/pom.xml b/pom.xml index 7e28babc..fcf00ca0 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 LibsDisguises LibsDisguises - 9.0.6-SNAPSHOT + 9.0.7 src diff --git a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java index 8ca0c4fa..4d93006b 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -811,6 +811,8 @@ public abstract class Disguise getWatcher().setBackupValue(flag, backup == null ? null : backup.getDefault()); } + + getWatcher().setNoGravity(true); } public Disguise setVelocitySent(boolean sendVelocity) diff --git a/src/me/libraryaddict/disguise/disguisetypes/RabbitType.java b/src/me/libraryaddict/disguise/disguisetypes/RabbitType.java index 13d52b4c..728f2697 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/RabbitType.java +++ b/src/me/libraryaddict/disguise/disguisetypes/RabbitType.java @@ -1,31 +1,31 @@ -package me.libraryaddict.disguise.disguisetypes; - -public enum RabbitType -{ - BLACK(2), BROWN(0), GOLD(4), KILLER_BUNNY(99), PATCHES(3), PEPPER(5), WHITE(1); - - public static RabbitType getType(int id) - { - for (RabbitType type : values()) - { - if (type.getTypeId() == id) - { - return type; - } - } - - return null; - } - - private int type; - - RabbitType(int type) - { - this.type = type; - } - - public int getTypeId() - { - return type; - } -} +package me.libraryaddict.disguise.disguisetypes; + +public enum RabbitType +{ + BLACK(2), BROWN(0), GOLD(4), KILLER_BUNNY(99), PATCHES(3), PEPPER(5), WHITE(1); + + public static RabbitType getType(int id) + { + for (RabbitType type : values()) + { + if (type.getTypeId() == id) + { + return type; + } + } + + return null; + } + + private int type; + + private RabbitType(int type) + { + this.type = type; + } + + public int getTypeId() + { + return type; + } +}