3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00
Paper/nms-patches/VillageSiege.patch

12 Zeilen
534 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/VillageSiege.java
+++ b/net/minecraft/server/VillageSiege.java
2016-05-10 13:47:39 +02:00
@@ -141,7 +141,7 @@
}
2016-02-29 22:32:46 +01:00
entityzombie.setPositionRotation(vec3d.x, vec3d.y, vec3d.z, this.a.random.nextFloat() * 360.0F, 0.0F);
- this.a.addEntity(entityzombie);
2015-02-26 23:41:06 +01:00
+ this.a.addEntity(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit
BlockPosition blockposition = this.f.a();
entityzombie.a(blockposition, this.f.b());