Paper/nms-patches/Village.patch

12 lines
552 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/Village.java
+++ b/net/minecraft/server/Village.java
2019-01-11 02:37:43 +01:00
@@ -77,7 +77,7 @@
2018-07-15 02:00:00 +02:00
if (entityirongolem != null) {
2018-08-26 04:00:00 +02:00
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;
}