ItsLewizzz / DeluxeHub

:floppy_disk: All-in-one, essential and professional hub core solution.
https://www.spigotmc.org/resources/49425/
GNU General Public License v3.0
77 stars 69 forks source link

Player hider right-click registers twice while cursor is on a block #23

Open Br0H0gg opened 3 years ago

Br0H0gg commented 3 years ago

When your cursor is facing a block (and in range), hiding players will register twice. The players will hide, and then a cooldown message will be sent milliseconds later. If you disable the cooldown, the players hide and then immediately reappear.

Repro Steps

Expected The players will hide and a cooldown message will only be sent if the user tries a second time. The expected result can be observed when repeating the same repro steps while your cursor is facing towards air (such as the sky).

Actual It registers twice and a cooldown is sent immediately after hiding the players.

FromenActual commented 3 years ago

I can also replicate this issue on the latest version, no problem when clicking in the air.

image

thevalleyy commented 2 years ago

I can confirm this issue is not fixed in the newest version