2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/block/BlockBeehive.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockBeehive.java
|
2021-06-11 07:00:00 +02:00
|
|
|
@@ -108,7 +108,7 @@
|
2020-06-28 00:56:12 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|