mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
8398e12b34
By: md_5 <git@md-5.net>
11 lines
540 B
Diff
11 lines
540 B
Diff
--- a/net/minecraft/world/level/block/BlockBeehive.java
|
|
+++ b/net/minecraft/world/level/block/BlockBeehive.java
|
|
@@ -119,7 +119,7 @@
|
|
if (entitybee.getTarget() == null) {
|
|
EntityHuman entityhuman = (EntityHuman) SystemUtils.getRandom(list1, world.random);
|
|
|
|
- entitybee.setTarget(entityhuman);
|
|
+ entitybee.setTarget(entityhuman, org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_PLAYER, true); // CraftBukkit
|
|
}
|
|
}
|
|
}
|