Add reminder, make the horse color random per the color length
This commit is contained in:
		| @@ -90,6 +90,8 @@ public abstract class Disguise { | ||||
|         // Else if its a horse. Set the horse watcher type | ||||
|         else if (getWatcher() instanceof HorseWatcher) { | ||||
|             try { | ||||
|                 // Don't mess with this because Varient is something like ZombieHorse and so on. | ||||
|                 // Not something that a watcher needs to access. | ||||
|                 Variant horseType = Variant.valueOf(getType().name()); | ||||
|                 getWatcher().setValue(19, (byte) horseType.ordinal()); | ||||
|             } catch (Exception ex) { | ||||
|   | ||||
| @@ -11,7 +11,7 @@ public class HorseWatcher extends AgeableWatcher { | ||||
|  | ||||
|     public HorseWatcher(Disguise disguise) { | ||||
|         super(disguise); | ||||
|         setValue(20, new Random().nextInt(7)); | ||||
|         setColorId(new Random().nextInt(Color.values().length)); | ||||
|     } | ||||
|  | ||||
|     public Color getColor() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user