Update to 9.0.7

This commit is contained in:
libraryaddict 2016-06-13 21:39:48 +12:00
parent 410b96dafe
commit 291942b9b4
3 changed files with 34 additions and 32 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>LibsDisguises</groupId> <groupId>LibsDisguises</groupId>
<artifactId>LibsDisguises</artifactId> <artifactId>LibsDisguises</artifactId>
<version>9.0.6-SNAPSHOT</version> <version>9.0.7</version>
<build> <build>
<sourceDirectory>src</sourceDirectory> <sourceDirectory>src</sourceDirectory>

View File

@ -811,6 +811,8 @@ public abstract class Disguise
getWatcher().setBackupValue(flag, backup == null ? null : backup.getDefault()); getWatcher().setBackupValue(flag, backup == null ? null : backup.getDefault());
} }
getWatcher().setNoGravity(true);
} }
public Disguise setVelocitySent(boolean sendVelocity) public Disguise setVelocitySent(boolean sendVelocity)

View File

@ -1,31 +1,31 @@
package me.libraryaddict.disguise.disguisetypes; package me.libraryaddict.disguise.disguisetypes;
public enum RabbitType public enum RabbitType
{ {
BLACK(2), BROWN(0), GOLD(4), KILLER_BUNNY(99), PATCHES(3), PEPPER(5), WHITE(1); BLACK(2), BROWN(0), GOLD(4), KILLER_BUNNY(99), PATCHES(3), PEPPER(5), WHITE(1);
public static RabbitType getType(int id) public static RabbitType getType(int id)
{ {
for (RabbitType type : values()) for (RabbitType type : values())
{ {
if (type.getTypeId() == id) if (type.getTypeId() == id)
{ {
return type; return type;
} }
} }
return null; return null;
} }
private int type; private int type;
RabbitType(int type) private RabbitType(int type)
{ {
this.type = type; this.type = type;
} }
public int getTypeId() public int getTypeId()
{ {
return type; return type;
} }
} }