--- 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.getGoalTarget() == null) {
-                    entitybee.setGoalTarget((EntityLiving) list1.get(world.random.nextInt(i)));
+                    entitybee.setGoalTarget((EntityLiving) list1.get(world.random.nextInt(i)), org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_PLAYER, true); // CraftBukkit
                 }
             }
         }
