mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
10 lines
445 B
Diff
10 lines
445 B
Diff
|
@@ -140,7 +140,7 @@
|
||
|
}
|
||
|
|
||
|
entityzombie.setPositionRotation(vec3d.a, vec3d.b, vec3d.c, 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());
|