Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 14:50:08 +01:00
12 Zeilen
567 B
Diff
12 Zeilen
567 B
Diff
--- a/net/minecraft/server/BlockBeehive.java
|
|
+++ b/net/minecraft/server/BlockBeehive.java
|
|
@@ -55,7 +55,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
|
|
}
|
|
}
|
|
}
|