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)) {
|
2018-11-14 04:17:25 +01:00
|
|
|
- this.a.addEntity(entityirongolem);
|
|
|
|
+ this.a.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
|
|
|
|
return entityirongolem;
|
|
|
|
}
|
|
|
|
|