i made a one player sleep objective in my server and i added a command block to: /say @p slept, but i also saw somewhere that if you type @p in a command block it says the name of the person closest to it. how can i fix this?
What do you mean fix?
𝐒𝐞𝐜𝐨𝐧𝐝 𝐂𝐡𝐚𝐧𝐧𝐞𝐥- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
Please credit me if you are going to use it in a video or a map!