diff --git a/patches/minecraft/net/minecraft/block/BeehiveBlock.java.patch b/patches/minecraft/net/minecraft/block/BeehiveBlock.java.patch index 9a7ae4245..7e7662db9 100644 --- a/patches/minecraft/net/minecraft/block/BeehiveBlock.java.patch +++ b/patches/minecraft/net/minecraft/block/BeehiveBlock.java.patch @@ -1,6 +1,14 @@ --- a/net/minecraft/block/BeehiveBlock.java +++ b/net/minecraft/block/BeehiveBlock.java -@@ -105,7 +105,7 @@ +@@ -85,6 +85,7 @@ + List list = p_226881_1_.func_217357_a(BeeEntity.class, (new AxisAlignedBB(p_226881_2_)).func_72314_b(8.0D, 6.0D, 8.0D)); + if (!list.isEmpty()) { + List list1 = p_226881_1_.func_217357_a(PlayerEntity.class, (new AxisAlignedBB(p_226881_2_)).func_72314_b(8.0D, 6.0D, 8.0D)); ++ if (list1.isEmpty()) return; //Forge: Prevent Error when no players are around. + int i = list1.size(); + + for(BeeEntity beeentity : list) { +@@ -105,7 +106,7 @@ int i = p_225533_1_.func_177229_b(field_226873_c_); boolean flag = false; if (i >= 5) {