Update CraftBukkit to 1.6.2

This commit is contained in:
mbax
2013-07-08 19:43:37 -04:00
parent 2d9a9d8cea
commit f6a0b1e426
87 changed files with 1162 additions and 1112 deletions

View File

@@ -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);
}
}