diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/BlockBeehive.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/level/block/BlockBeehive.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/BlockBeehive.patch b/patch-remap/og/net/minecraft/world/level/block/BlockBeehive.patch new file mode 100644 index 0000000000..7b6ec34eb1 --- /dev/null +++ b/patch-remap/og/net/minecraft/world/level/block/BlockBeehive.patch @@ -0,0 +1,11 @@ +--- 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 + } + } + } |