Fix Rainbow Sheep mount not changing colours
This commit is contained in:
parent
80817a5e01
commit
b698cfe7b4
@ -89,6 +89,7 @@ public enum GemHuntersMountType
|
||||
{
|
||||
|
||||
private DisguiseManager _disguise = Managers.get(DisguiseManager.class);
|
||||
private int _tick;
|
||||
|
||||
@Override
|
||||
public Horse spawn(Location location, DisguiseManager manager)
|
||||
@ -116,7 +117,7 @@ public enum GemHuntersMountType
|
||||
}
|
||||
|
||||
DisguiseSheep sheep = (DisguiseSheep) base;
|
||||
int mod = horse.getTicksLived() % 40;
|
||||
int mod = _tick++ % 4;
|
||||
|
||||
if (mod == 0) sheep.setColor(DyeColor.RED);
|
||||
else if (mod == 1) sheep.setColor(DyeColor.YELLOW);
|
||||
|
Loading…
Reference in New Issue
Block a user