summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java')
-rw-r--r--src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java b/src/main/java/net/minecraft/server/PathfinderGoalMakeLove.java
index e4e08175..f7bd8e82 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.aH().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);
@@ -62,7 +62,7 @@ public class PathfinderGoalMakeLove extends PathfinderGoal {
this.g();
}
- if (this.b.aH().nextInt(35) == 0) {
+ if (this.b.aI().nextInt(35) == 0) {
this.d.broadcastEntityEffect(this.b, (byte) 12);
}
}