Skip to content

Commit

Permalink
Stopped Pets looking at players if they are being ridden
Browse files Browse the repository at this point in the history
  • Loading branch information
DSH105 committed Jul 12, 2013
1 parent a09b1be commit 3af04b1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public boolean a() {
if (this.a.aC().nextFloat() >= this.e) {
return false;
}
else if (this.a.passenger != null) {
return false;
}
else {
if (this.f == EntityHuman.class) {
this.b = this.a.world.findNearbyPlayer(this.a, (double) this.c);
Expand Down

0 comments on commit 3af04b1

Please sign in to comment.