summaryrefslogtreecommitdiffstats
path: root/nms-patches/Village.patch
blob: 7220c1463b119d1cd06e1422145ca47426f28832 (plain)
1
2
3
4
5
6
7
8
9
@@ -60,7 +60,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;
             }
         }