Update CraftBukkit to Minecraft 1.7.2
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.aD().nextInt(500) != 0) {
|
||||
} else if (this.b.aI().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);
|
||||
@@ -58,11 +58,11 @@ public class PathfinderGoalMakeLove extends PathfinderGoal {
|
||||
this.b.getControllerLook().a(this.c, 10.0F, 30.0F);
|
||||
if (this.b.e(this.c) > 2.25D) {
|
||||
this.b.getNavigation().a((Entity) this.c, 0.25D);
|
||||
} else if (this.e == 0 && this.c.bU()) {
|
||||
} else if (this.e == 0 && this.c.bY()) {
|
||||
this.g();
|
||||
}
|
||||
|
||||
if (this.b.aD().nextInt(35) == 0) {
|
||||
if (this.b.aI().nextInt(35) == 0) {
|
||||
this.d.broadcastEntityEffect(this.b, (byte) 12);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user