#841: 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);
}
}