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