Made sheeps target player on spawn.
This commit is contained in:
parent
5c8f2e3133
commit
8acf96fc34
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user