Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
12 Zeilen
497 B
Diff
12 Zeilen
497 B
Diff
--- a/net/minecraft/server/Village.java
|
|
+++ b/net/minecraft/server/Village.java
|
|
@@ -64,7 +64,7 @@
|
|
EntityIronGolem entityirongolem = new EntityIronGolem(this.a);
|
|
|
|
entityirongolem.setPosition(vec3d.x, vec3d.y, vec3d.z);
|
|
- this.a.addEntity(entityirongolem);
|
|
+ this.a.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
|
|
++this.l;
|
|
}
|
|
}
|