geforkt von Mirrors/Paper
a8ddf37419
By: GunfighterJ <joseph.jenniges@gmail.com>
10 Zeilen
395 B
Diff
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);
|