#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

execute if entity @e[tag=info_left,distance=..0.5] run scoreboard players set info wineffect_hover 1
execute if entity @e[tag=info_right,distance=..0.5] run scoreboard players set info wineffect_hover 2
execute unless entity @e[tag=info,distance=..0.5] if entity @s[distance=..5] positioned ^ ^ ^0.5 run function f:lobby/info/info_loop