Update to 9.0.7
This commit is contained in:
		| @@ -811,6 +811,8 @@ public abstract class Disguise | ||||
|  | ||||
|             getWatcher().setBackupValue(flag, backup == null ? null : backup.getDefault()); | ||||
|         } | ||||
|  | ||||
|         getWatcher().setNoGravity(true); | ||||
|     } | ||||
|  | ||||
|     public Disguise setVelocitySent(boolean sendVelocity) | ||||
|   | ||||
| @@ -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; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user