mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Update CraftBukkit to Minecraft 1.4.6
This commit is contained in:
@@ -6,7 +6,7 @@ public abstract class EntityMonster extends EntityCreature implements IMonster {
|
||||
|
||||
public EntityMonster(World world) {
|
||||
super(world);
|
||||
this.bc = 5;
|
||||
this.bd = 5;
|
||||
}
|
||||
|
||||
public void c() {
|
||||
@@ -14,7 +14,7 @@ public abstract class EntityMonster extends EntityCreature implements IMonster {
|
||||
float f = this.c(1.0F);
|
||||
|
||||
if (f > 0.5F) {
|
||||
this.bA += 2;
|
||||
this.bB += 2;
|
||||
}
|
||||
|
||||
super.c();
|
||||
@@ -99,6 +99,10 @@ public abstract class EntityMonster extends EntityCreature implements IMonster {
|
||||
if (k > 0) {
|
||||
entity.setOnFire(k * 4);
|
||||
}
|
||||
|
||||
if (entity instanceof EntityLiving) {
|
||||
EnchantmentThorns.a(this, (EntityLiving) entity, this.random);
|
||||
}
|
||||
}
|
||||
|
||||
return flag;
|
||||
|
Reference in New Issue
Block a user