mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-22 15:56:18 +00:00
12 lines
515 B
Diff
12 lines
515 B
Diff
--- a/net/minecraft/world/entity/ai/village/VillageSiege.java
|
|
+++ b/net/minecraft/world/entity/ai/village/VillageSiege.java
|
|
@@ -121,7 +121,7 @@
|
|
}
|
|
|
|
entityzombie.moveTo(vec3d.x, vec3d.y, vec3d.z, worldserver.random.nextFloat() * 360.0F, 0.0F);
|
|
- worldserver.addFreshEntityWithPassengers(entityzombie);
|
|
+ worldserver.addFreshEntityWithPassengers(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit
|
|
}
|
|
}
|
|
|