mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
Update to 9.0.7
This commit is contained in:
parent
410b96dafe
commit
291942b9b4
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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)
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user