13
0
geforkt von Mirrors/Paper
Paper/paper-server/nms-patches/EntityIronGolem.patch
CraftBukkit/Spigot a8ddf37419 Remove patch headers
By: GunfighterJ <joseph.jenniges@gmail.com>
2014-11-28 16:54:14 -06:00

10 Zeilen
395 B
Diff

@@ -57,7 +57,7 @@
protected void s(Entity entity) {
if (entity instanceof IMonster && this.bb().nextInt(20) == 0) {
- this.setGoalTarget((EntityLiving) entity);
+ this.setGoalTarget((EntityLiving) entity, org.bukkit.event.entity.EntityTargetLivingEntityEvent.TargetReason.COLLISION, true); // CraftBukkit - set reason
}
super.s(entity);