Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089

This commit is contained in:
EvilSeph committed 2012-03-08 21:57:46 -05:00
1 parent f5ce8627c6
commit ecb00bba85
2 files changed
+7 -4

No files matched your search

@@ -42,7 +42,7 @@ public class Village {
EntityIronGolem entityirongolem = new EntityIronGolem(this.world);
entityirongolem.setPosition(vec3d.a, vec3d.b, vec3d.c);
this.world.addEntity(entityirongolem);
this.world.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
++this.j;
}
}