Made sheeps target player on spawn.

This commit is contained in:
Georgiy 2013-06-30 21:27:35 -04:00
parent 5c8f2e3133
commit 8acf96fc34

View File

@ -54,6 +54,7 @@ public class DiscoParty {
newSheep.setMaxHealth(10000);
newSheep.setHealth(10000);
newSheep.setColor(discoColours[(int) Math.round(Math.random() * (discoColours.length - 1))]);
newSheep.setTarget(player);
getSheep().add(newSheep);
}