mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 06:40:19 +08:00
10 lines
417 B
Diff
10 lines
417 B
Diff
@@ -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;
|
|
}
|
|
}
|