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

12 Zeilen
552 B
Diff

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;
}