mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Update CraftBukkit to 1.6.2
This commit is contained in:
@@ -53,9 +53,9 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
|
||||
}
|
||||
|
||||
protected double f() {
|
||||
AttributeInstance attributeinstance = this.c.a(GenericAttributes.b);
|
||||
AttributeInstance attributeinstance = this.c.getAttributeInstance(GenericAttributes.b);
|
||||
|
||||
return attributeinstance == null ? 16.0D : attributeinstance.e();
|
||||
return attributeinstance == null ? 16.0D : attributeinstance.getValue();
|
||||
}
|
||||
|
||||
public void c() {
|
||||
@@ -144,7 +144,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
|
||||
}
|
||||
|
||||
private boolean a(EntityLiving entityliving) {
|
||||
this.e = 10 + this.c.aB().nextInt(5);
|
||||
this.e = 10 + this.c.aC().nextInt(5);
|
||||
PathEntity pathentity = this.c.getNavigation().a(entityliving);
|
||||
|
||||
if (pathentity == null) {
|
||||
|
Reference in New Issue
Block a user