mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
43702a9e10
By: md_5 <git@md-5.net>
12 lines
579 B
Diff
12 lines
579 B
Diff
--- a/net/minecraft/world/level/block/BlockBeehive.java
|
|
+++ b/net/minecraft/world/level/block/BlockBeehive.java
|
|
@@ -108,7 +108,7 @@
|
|
EntityBee entitybee = (EntityBee) iterator.next();
|
|
|
|
if (entitybee.getTarget() == null) {
|
|
- entitybee.setTarget((EntityLiving) list1.get(world.random.nextInt(i)));
|
|
+ entitybee.setTarget((EntityLiving) list1.get(world.random.nextInt(i)), org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_PLAYER, true); // CraftBukkit
|
|
}
|
|
}
|
|
}
|