You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
752 B
11 lines
752 B
--- ../src-base/minecraft/net/minecraft/village/VillageSiege.java |
|
+++ ../src-work/minecraft/net/minecraft/village/VillageSiege.java |
|
@@ -196,7 +196,7 @@ |
|
} |
|
|
|
entityzombie.setLocationAndAngles(vec3.xCoord, vec3.yCoord, vec3.zCoord, this.worldObj.rand.nextFloat() * 360.0F, 0.0F); |
|
- this.worldObj.spawnEntityInWorld(entityzombie); |
|
+ this.worldObj.addEntity(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit |
|
ChunkCoordinates chunkcoordinates = this.theVillage.getCenter(); |
|
entityzombie.setHomeArea(chunkcoordinates.posX, chunkcoordinates.posY, chunkcoordinates.posZ, this.theVillage.getVillageRadius()); |
|
return true;
|
|
|