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.
12 lines
606 B
12 lines
606 B
10 years ago
|
--- ../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;
|
||
|
}
|
||
|
}
|