PluginBugs / Issues-Wraith

Repository used to keep track of issues of my plugin Wraith
0 stars 0 forks source link

Players flagged for Interact through blocks when the block in between them and a container is water. #52

Closed quinn-caverly closed 2 years ago

quinn-caverly commented 3 years ago

Describe the bug When players try and use a container and they are in water or there is a layer of water between them and the container the interaction is cancelled for the "interact through blocks" check

To Reproduce Am on 1.16 airplane (paper fork), you need to place a container such as a shulker or a chest or a dispenser and place water all around it. Then try and open the container through the water the interaction is cancelled and the player is kicked (if you have the kick feature enabled)

Expected behavior I expected the system to know that if the block in between the player and the container is water then it should not flag the interact through blocks system, it is already able to check if it is air so I don't imagine adding support for water / lava would be too difficult.

Screenshots https://www.youtube.com/watch?v=_c9RedSAs8s&ab_channel=MirageFactions

Info (please complete the following information):

Additional context This is a big issue for my server because a main way of people hacking into bases is by using a freecam and creeper egg method so it is important that they cannot interact through blocks but if people can't open containers through water it is hard to have the feature enabled.