Skip to content

Commit 95e8474

Browse files
Copilottastybento
andauthored
Address code review: clarify click type documentation
Agent-Logs-Url: https://github.com/BentoBoxWorld/ControlPanel/sessions/ae4d379e-4e77-4531-8669-54851ebebea3 Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
1 parent b968b07 commit 95e8474

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/world/bentobox/controlpanel/database/objects/ControlPanelObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public void setDescriptionLines(List<String> descriptionLines)
437437
private String rightClickCommand;
438438

439439
/**
440-
* Command that will run on shift click.
440+
* Command that will run on shift+left click.
441441
*/
442442
@Expose
443443
private String shiftClickCommand;

src/main/resources/controlPanelTemplate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# f.e. '[label] challenges' in BSkyblock will result in 'island challenges'
88
# Command types:
99
# command - Executed on left click (default click action)
10-
# right_click_command - Executed on right click. Falls back to 'command' if not set.
10+
# right_click_command - Executed on right click or shift+right click. Falls back to 'command' if not set.
1111
# shift_click_command - Executed on shift+left click. Falls back to 'command' if not set.
1212
# material is used from Material.match
1313
# icon is used by parsing BentoBox ItemParser. Replacement for material.

0 commit comments

Comments
 (0)