2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/PathfinderGoalMakeLove.java
|
|
|
|
+++ b/net/minecraft/server/PathfinderGoalMakeLove.java
|
2014-11-25 22:32:16 +01:00
|
|
|
@@ -87,7 +87,7 @@
|
2016-02-29 22:32:46 +01:00
|
|
|
this.b.r(false);
|
2014-11-25 22:32:16 +01:00
|
|
|
entityvillager.setAgeRaw(-24000);
|
|
|
|
entityvillager.setPositionRotation(this.b.locX, this.b.locY, this.b.locZ, 0.0F, 0.0F);
|
|
|
|
- this.d.addEntity(entityvillager);
|
|
|
|
+ this.d.addEntity(entityvillager, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.BREEDING); // CraftBukkit - added SpawnReason
|
|
|
|
this.d.broadcastEntityEffect(entityvillager, (byte) 12);
|
|
|
|
}
|
|
|
|
}
|