@@ -17,7 +17,7 @@
|
||||
|
||||
public class EntityVillager extends EntityVillagerAbstract implements ReputationHandler, VillagerDataHolder {
|
||||
|
||||
@@ -58,7 +68,7 @@
|
||||
@@ -60,7 +70,7 @@
|
||||
|
||||
@Override
|
||||
public BehaviorController<EntityVillager> getBehaviorController() {
|
||||
@@ -26,16 +26,16 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -122,7 +132,7 @@
|
||||
@@ -124,7 +134,7 @@
|
||||
@Override
|
||||
protected void mobTick() {
|
||||
this.world.getMethodProfiler().enter("brain");
|
||||
- this.getBehaviorController().a((WorldServer) this.world, (EntityLiving) this);
|
||||
+ this.getBehaviorController().a((WorldServer) this.world, this); // CraftBukkit - decompile error
|
||||
this.world.getMethodProfiler().exit();
|
||||
if (!this.dZ() && this.bE > 0) {
|
||||
if (!this.dY() && this.bE > 0) {
|
||||
--this.bE;
|
||||
@@ -132,7 +142,7 @@
|
||||
@@ -134,7 +144,7 @@
|
||||
this.bF = false;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -278,7 +288,14 @@
|
||||
@@ -351,7 +361,14 @@
|
||||
while (iterator.hasNext()) {
|
||||
MerchantRecipe merchantrecipe = (MerchantRecipe) iterator.next();
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -598,7 +615,12 @@
|
||||
@@ -673,7 +690,12 @@
|
||||
entitywitch.setCustomNameVisible(this.getCustomNameVisible());
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
this.die();
|
||||
}
|
||||
|
||||
@@ -730,7 +752,7 @@
|
||||
@@ -823,7 +845,7 @@
|
||||
}
|
||||
|
||||
private void b(long i) {
|
||||
@@ -83,7 +83,7 @@
|
||||
}
|
||||
|
||||
private boolean c(long i) {
|
||||
@@ -779,7 +801,7 @@
|
||||
@@ -872,7 +894,7 @@
|
||||
|
||||
if (entityirongolem != null) {
|
||||
if (entityirongolem.a((GeneratorAccess) this.world, EnumMobSpawn.MOB_SUMMONED) && entityirongolem.a((IWorldReader) this.world)) {
|
||||
@@ -92,7 +92,7 @@
|
||||
return entityirongolem;
|
||||
}
|
||||
|
||||
@@ -830,7 +852,7 @@
|
||||
@@ -933,7 +955,7 @@
|
||||
@Override
|
||||
public void e(BlockPosition blockposition) {
|
||||
super.e(blockposition);
|
||||
|
||||
Reference in New Issue
Block a user