mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 04:13:51 -07:00
Update CraftBukkit to 1.6.2
This commit is contained in:
@@ -10,7 +10,7 @@ public abstract class EntityMonster extends EntityCreature implements IMonster {
|
||||
}
|
||||
|
||||
public void c() {
|
||||
this.aS();
|
||||
this.aV();
|
||||
float f = this.d(1.0F);
|
||||
|
||||
if (f > 0.5F) {
|
||||
@@ -68,7 +68,7 @@ public abstract class EntityMonster extends EntityCreature implements IMonster {
|
||||
}
|
||||
|
||||
public boolean m(Entity entity) {
|
||||
float f = (float) this.a(GenericAttributes.e).e();
|
||||
float f = (float) this.getAttributeInstance(GenericAttributes.e).getValue();
|
||||
int i = 0;
|
||||
|
||||
if (entity instanceof EntityLiving) {
|
||||
@@ -136,8 +136,8 @@ public abstract class EntityMonster extends EntityCreature implements IMonster {
|
||||
return this.world.difficulty > 0 && this.i_() && super.canSpawn();
|
||||
}
|
||||
|
||||
protected void ax() {
|
||||
super.ax();
|
||||
this.aT().b(GenericAttributes.e);
|
||||
protected void ay() {
|
||||
super.ay();
|
||||
this.aW().b(GenericAttributes.e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user