1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-21 06:28:56 +01:00

: Remove incorrect ClickType.CONTROL_DROP from ClickType#isShiftClick

By: RyGuy <git@ryguy.me>
This commit is contained in:
Bukkit/Spigot 2023-03-30 19:43:40 +11:00
parent 15d0b9b07f
commit a0b5f71677

View file

@ -114,6 +114,6 @@ public enum ClickType {
* @return true if the action uses Shift.
*/
public boolean isShiftClick() {
return (this == ClickType.SHIFT_LEFT) || (this == ClickType.SHIFT_RIGHT) || (this == ClickType.CONTROL_DROP);
return (this == ClickType.SHIFT_LEFT) || (this == ClickType.SHIFT_RIGHT);
}
}