mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 12:41:50 +01:00
24557bc2b3
For more information please see http://www.spigotmc.org/
11 lines
606 B
Diff
11 lines
606 B
Diff
--- ../work/decompile-bb26c12b/net/minecraft/server/Village.java 2014-11-27 08:59:46.921420877 +1100
|
|
+++ src/main/java/net/minecraft/server/Village.java 2014-11-27 08:42:10.104851005 +1100
|
|
@@ -60,7 +60,7 @@
|
|
EntityIronGolem entityirongolem = new EntityIronGolem(this.a);
|
|
|
|
entityirongolem.setPosition(vec3d.a, vec3d.b, vec3d.c);
|
|
- this.a.addEntity(entityirongolem);
|
|
+ this.a.addEntity(entityirongolem, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_DEFENSE); // CraftBukkit
|
|
++this.l;
|
|
}
|
|
}
|