Update CraftBukkit to Minecraft 1.7.5
This commit is contained in:
@@ -17,7 +17,7 @@ public class PathfinderGoalMakeLove extends PathfinderGoal {
|
||||
public boolean a() {
|
||||
if (this.b.getAge() != 0) {
|
||||
return false;
|
||||
} else if (this.b.aI().nextInt(500) != 0) {
|
||||
} else if (this.b.aH().nextInt(500) != 0) {
|
||||
return false;
|
||||
} else {
|
||||
this.a = this.d.villages.getClosestVillage(MathHelper.floor(this.b.locX), MathHelper.floor(this.b.locY), MathHelper.floor(this.b.locZ), 0);
|
||||
@@ -56,13 +56,13 @@ public class PathfinderGoalMakeLove extends PathfinderGoal {
|
||||
public void e() {
|
||||
--this.e;
|
||||
this.b.getControllerLook().a(this.c, 10.0F, 30.0F);
|
||||
if (this.b.e(this.c) > 2.25D) {
|
||||
if (this.b.f(this.c) > 2.25D) {
|
||||
this.b.getNavigation().a((Entity) this.c, 0.25D);
|
||||
} else if (this.e == 0 && this.c.bY()) {
|
||||
} else if (this.e == 0 && this.c.ca()) {
|
||||
this.g();
|
||||
}
|
||||
|
||||
if (this.b.aI().nextInt(35) == 0) {
|
||||
if (this.b.aH().nextInt(35) == 0) {
|
||||
this.d.broadcastEntityEffect(this.b, (byte) 12);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user