2015-05-25 18:37:24 +08:00
|
|
|
--- a/net/minecraft/server/VillageSiege.java
|
|
|
|
+++ b/net/minecraft/server/VillageSiege.java
|
2016-05-10 19:47:39 +08:00
|
|
|
@@ -141,7 +141,7 @@
|
2014-11-26 05:32:16 +08:00
|
|
|
}
|
|
|
|
|
2016-03-01 05:32:46 +08:00
|
|
|
entityzombie.setPositionRotation(vec3d.x, vec3d.y, vec3d.z, this.a.random.nextFloat() * 360.0F, 0.0F);
|
2014-11-26 05:32:16 +08:00
|
|
|
- this.a.addEntity(entityzombie);
|
2015-02-27 06:41:06 +08:00
|
|
|
+ this.a.addEntity(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit
|
2014-11-26 05:32:16 +08:00
|
|
|
BlockPosition blockposition = this.f.a();
|
|
|
|
|
|
|
|
entityzombie.a(blockposition, this.f.b());
|