2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/block/BlockBeehive.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockBeehive.java
|
2023-12-05 17:40:00 +01:00
|
|
|
@@ -119,7 +119,7 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
if (entitybee.getTarget() == null) {
|
2023-09-21 18:40:00 +02:00
|
|
|
EntityHuman entityhuman = (EntityHuman) SystemUtils.getRandom(list1, world.random);
|
|
|
|
|
|
|
|
- entitybee.setTarget(entityhuman);
|
|
|
|
+ entitybee.setTarget(entityhuman, org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_PLAYER, true); // CraftBukkit
|
2020-06-28 00:56:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|