2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/VillageSiege.java
|
|
|
|
+++ b/net/minecraft/server/VillageSiege.java
|
2020-08-11 23:00:00 +02:00
|
|
|
@@ -108,7 +108,7 @@
|
2014-11-25 22:32:16 +01:00
|
|
|
}
|
|
|
|
|
2019-07-20 01:00:00 +02:00
|
|
|
entityzombie.setPositionRotation(vec3d.x, vec3d.y, vec3d.z, worldserver.random.nextFloat() * 360.0F, 0.0F);
|
2020-08-11 23:00:00 +02:00
|
|
|
- worldserver.addAllEntities(entityzombie);
|
|
|
|
+ worldserver.addAllEntities(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit
|
2019-04-23 04:00:00 +02:00
|
|
|
}
|
|
|
|
}
|
2014-11-25 22:32:16 +01:00
|
|
|
|