aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/block/BeehiveBlock.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/block/BeehiveBlock.java.patch')
-rw-r--r--patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/block/BeehiveBlock.java.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/block/BeehiveBlock.java.patch b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/block/BeehiveBlock.java.patch
new file mode 100644
index 0000000000..14ce6be3f8
--- /dev/null
+++ b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/block/BeehiveBlock.java.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/level/block/BeehiveBlock.java
++++ b/net/minecraft/world/level/block/BeehiveBlock.java
+@@ -123,7 +119,7 @@
+ if (bee.getTarget() == null) {
+ Player player = (Player) Util.getRandom(list1, level.random);
+
+- bee.setTarget(player);
++ entitybee.setTarget(entityhuman, org.bukkit.event.entity.EntityTargetEvent.TargetReason.CLOSEST_PLAYER, true); // CraftBukkit
+ }
+ }
+ }