diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java')
-rw-r--r-- | src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java b/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java index 6102f9eb..62891b56 100644 --- a/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java +++ b/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java @@ -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); } } |