diff --git a/src/me/libraryaddict/disguise/DisguiseTypes/Watchers/HorseWatcher.java b/src/me/libraryaddict/disguise/DisguiseTypes/Watchers/HorseWatcher.java index b5c411e0..aec60eaf 100644 --- a/src/me/libraryaddict/disguise/DisguiseTypes/Watchers/HorseWatcher.java +++ b/src/me/libraryaddict/disguise/DisguiseTypes/Watchers/HorseWatcher.java @@ -5,10 +5,25 @@ public class HorseWatcher extends AgeableWatcher { public HorseWatcher(int entityId) { super(entityId); setValue(16, 0); + // Horse types (19) are + // Horse + // Donkey + // Mule + // Zombie + // Skeleton setValue(19, (byte) 0); setValue(20, 0); setValue(21, ""); setValue(22, 0); } + public void setHorseType(int type) { + setValue(19, (byte) type); + sendData(19); + } + + public int getHorseType() { + return (int) (Byte) getValue(19); + } + }