mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 04:25:26 +01:00
12 lines
534 B
Diff
12 lines
534 B
Diff
--- a/net/minecraft/server/VillageSiege.java
|
|
+++ b/net/minecraft/server/VillageSiege.java
|
|
@@ -140,7 +140,7 @@
|
|
}
|
|
|
|
entityzombie.setPositionRotation(vec3d.x, vec3d.y, vec3d.z, this.a.random.nextFloat() * 360.0F, 0.0F);
|
|
- this.a.addEntity(entityzombie);
|
|
+ this.a.addEntity(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit
|
|
BlockPosition blockposition = this.f.a();
|
|
|
|
entityzombie.a(blockposition, this.f.b());
|