summaryrefslogtreecommitdiffstats
path: root/nms-patches/Village.patch
blob: 792320559d2cc4f93394ea959335374a0c8495e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- /home/matt/mc-dev-private//net/minecraft/server/Village.java	2015-02-26 22:40:23.171608133 +0000
+++ src/main/java/net/minecraft/server/Village.java	2015-02-26 22:40:23.175608133 +0000
@@ -62,7 +62,7 @@
                 EntityIronGolem entityirongolem = new EntityIronGolem(this.a);
 
                 entityirongolem.setPosition(vec3d.a, vec3d.b, vec3d.c);
-                this.a.addEntity(entityirongolem);
+                this.a.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
                 ++this.l;
             }
         }