PaperMC/nms-patches/VillageSiege.patch

12 lines
441 B
Diff
Raw Normal View History

2015-05-25 20:37:24 +10:00
--- a/net/minecraft/server/VillageSiege.java
+++ b/net/minecraft/server/VillageSiege.java
2019-06-21 20:00:00 +10:00
@@ -101,7 +101,7 @@
}
2016-03-01 08:32:46 +11:00
entityzombie.setPositionRotation(vec3d.x, vec3d.y, vec3d.z, this.a.random.nextFloat() * 360.0F, 0.0F);
- this.a.addEntity(entityzombie);
2015-02-26 22:41:06 +00:00
+ this.a.addEntity(entityzombie, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.VILLAGE_INVASION); // CraftBukkit
2019-04-23 12:00:00 +10:00
}
}