2015-05-25 20:37:24 +10:00
|
|
|
--- a/net/minecraft/server/Village.java
|
|
|
|
+++ b/net/minecraft/server/Village.java
|
2019-01-11 12:37:43 +11:00
|
|
|
@@ -77,7 +77,7 @@
|
2018-07-15 10:00:00 +10:00
|
|
|
|
|
|
|
if (entityirongolem != null) {
|
2018-08-26 12:00:00 +10:00
|
|
|
if (entityirongolem.a((GeneratorAccess) this.a, false) && entityirongolem.a((IWorldReader) this.a)) {
|
2018-11-14 14:17:25 +11:00
|
|
|
- this.a.addEntity(entityirongolem);
|
|
|
|
+ this.a.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
|
|
|
|
return entityirongolem;
|
|
|
|
}
|
|
|
|
|