clear @s *[custom_data={lobby.lang:1b}]
execute at @s run kill @e[type=item,distance=0..2]

item replace entity @s container.22 with flower_banner_pattern[custom_data={lobby.lang:1b},custom_name={"color":"#2E66FF","fallback":"Languages","italic":false,"translate":"subchronos.lobby.options.lang.name"},lore=[{"color":"gray","fallback":"The map language changes according","italic":false,"translate":"subchronos.lobby.options.lang.desc1"},{"color":"gray","fallback":"to your §egame's language§r.","italic":false,"translate":"subchronos.lobby.options.lang.desc2"},{"color":"#B03737","fallback":"If it does't change, please relog.","italic":false,"translate":"subchronos.lobby.options.lang.desc3"}," ",{"bold":true,"color":"gold","fallback":"Available languages are:","italic":false,"translate":"subchronos.lobby.options.lang.desc4"},{"color":"dark_green","fallback":"Spanish (Spain) - English (US)","italic":false,"translate":"subchronos.lobby.options.lang.desc5"}]]