mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
11 lines
552 B
Diff
11 lines
552 B
Diff
--- a/net/minecraft/server/Village.java
|
|
+++ b/net/minecraft/server/Village.java
|
|
@@ -77,7 +77,7 @@
|
|
|
|
if (entityirongolem != null) {
|
|
if (entityirongolem.a((GeneratorAccess) this.a, false) && entityirongolem.a((IWorldReader) this.a)) {
|
|
- this.a.addEntity(entityirongolem);
|
|
+ this.a.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
|
|
return entityirongolem;
|
|
}
|
|
|