mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-20 14:53:49 -07:00
@@ -96,15 +96,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -362,7 +395,7 @@
|
||||
@@ -362,8 +395,8 @@
|
||||
EntityZombieVillager entityzombievillager = new EntityZombieVillager(this.world);
|
||||
|
||||
entityzombievillager.u(entityvillager);
|
||||
- this.world.kill(entityvillager);
|
||||
- entityzombievillager.prepare(this.world.getDamageScaler(new BlockPosition(entityzombievillager)), new EntityZombie.GroupDataZombie(false, null), (NBTTagCompound) null);
|
||||
+ // this.world.kill(entityvillager); // CraftBukkit - moved down
|
||||
entityzombievillager.prepare(this.world.getDamageScaler(new BlockPosition(entityzombievillager)), new EntityZombie.GroupDataZombie(false, null), (NBTTagCompound) null);
|
||||
+ entityzombievillager.prepare(this.world.getDamageScaler(new BlockPosition(entityzombievillager)), new EntityZombie.GroupDataZombie(false), (NBTTagCompound) null); // CraftBukkit - decompile error
|
||||
entityzombievillager.setProfession(entityvillager.getProfession());
|
||||
entityzombievillager.setBaby(entityvillager.isBaby());
|
||||
entityzombievillager.setNoAI(entityvillager.isNoAI());
|
||||
@@ -372,7 +405,13 @@
|
||||
entityzombievillager.setCustomNameVisible(entityvillager.getCustomNameVisible());
|
||||
}
|
||||
@@ -120,6 +122,15 @@
|
||||
this.world.a((EntityHuman) null, 1026, new BlockPosition(this), 0);
|
||||
}
|
||||
|
||||
@@ -399,7 +438,7 @@
|
||||
|
||||
this.p(this.random.nextFloat() < 0.55F * f);
|
||||
if (object == null) {
|
||||
- object = new EntityZombie.GroupDataZombie(this.world.random.nextFloat() < 0.05F, null);
|
||||
+ object = new EntityZombie.GroupDataZombie(this.world.random.nextFloat() < 0.05F); // CraftBukkit - decompile error
|
||||
}
|
||||
|
||||
if (object instanceof EntityZombie.GroupDataZombie) {
|
||||
@@ -422,7 +461,7 @@
|
||||
entitychicken1.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
|
||||
entitychicken1.prepare(difficultydamagescaler, (GroupDataEntity) null, (NBTTagCompound) null);
|
||||
|
Reference in New Issue
Block a user