mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 09:23:42 +01:00
11 lines
497 B
Diff
11 lines
497 B
Diff
--- a/net/minecraft/server/Village.java
|
|
+++ b/net/minecraft/server/Village.java
|
|
@@ -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;
|
|
}
|
|
}
|