Players can reach through blocks and hit each other from a long distance. We should write something that checks if the attacker can actually see the player they are hitting to prove they are not hitting through walls.
Beyond that, we need to make sure they can't damage or interact with other kinds of entities they shouldn't technically be able to, such as End Crystals or beds, when they are on the other side of a block that the player shouldn't be able to reach through.
Is this issue new / recently noticed, or something that's been happening for a while?
Short overview of the issue
Players can reach through blocks and hit each other from a long distance. We should write something that checks if the attacker can actually see the player they are hitting to prove they are not hitting through walls.
Beyond that, we need to make sure they can't damage or interact with other kinds of entities they shouldn't technically be able to, such as End Crystals or beds, when they are on the other side of a block that the player shouldn't be able to reach through.
Is this issue new / recently noticed, or something that's been happening for a while?
Has been happening for a long time