removed 10000 HP on sheep
This commit is contained in:
parent
968603d54f
commit
869210e0d2
@ -67,9 +67,7 @@ public class DiscoParty {
|
|||||||
|
|
||||||
void spawnSheep(World world, Location loc) {
|
void spawnSheep(World world, Location loc) {
|
||||||
Sheep newSheep = (Sheep) world.spawnEntity(loc, EntityType.SHEEP);
|
Sheep newSheep = (Sheep) world.spawnEntity(loc, EntityType.SHEEP);
|
||||||
newSheep.setMaxHealth(10000);
|
newSheep.setColor(discoColours[(int) (Math.random() * (discoColours.length - 1))]);
|
||||||
newSheep.setHealth(10000);
|
|
||||||
newSheep.setColor(discoColours[(int) Math.round(Math.random() * (discoColours.length - 1))]);
|
|
||||||
newSheep.setTarget(player);
|
newSheep.setTarget(player);
|
||||||
newSheep.setBreed(false);
|
newSheep.setBreed(false);
|
||||||
getSheep().add(newSheep);
|
getSheep().add(newSheep);
|
||||||
|
Loading…
Reference in New Issue
Block a user