12 lines
606 B
Diff
12 lines
606 B
Diff
|
--- ../src-base/minecraft/net/minecraft/village/Village.java
|
||
|
+++ ../src-work/minecraft/net/minecraft/village/Village.java
|
||
|
@@ -71,7 +71,7 @@
|
||
|
{
|
||
|
EntityIronGolem entityirongolem = new EntityIronGolem(this.worldObj);
|
||
|
entityirongolem.setPosition(vec3.xCoord, vec3.yCoord, vec3.zCoord);
|
||
|
- this.worldObj.spawnEntityInWorld(entityirongolem);
|
||
|
+ this.worldObj.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
|
||
|
++this.numIronGolems;
|
||
|
}
|
||
|
}
|