3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00
Paper/nms-patches/Village.patch

12 Zeilen
497 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/Village.java
+++ b/net/minecraft/server/Village.java
2016-11-17 02:41:03 +01:00
@@ -64,7 +64,7 @@
EntityIronGolem entityirongolem = new EntityIronGolem(this.a);
2016-02-29 22:32:46 +01:00
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;
}
}