mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
fancydialogs: Rename onCancel to exitAction
This commit is contained in:
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
public record DialogListDialog(
|
||||
@NotNull DialogData common,
|
||||
@NotNull List<DialogType> dialogs,
|
||||
@Nullable ClickEvent onCancel,
|
||||
@Nullable ClickEvent exitAction,
|
||||
int columns,
|
||||
int buttonWidth
|
||||
) implements DialogType {
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
public record MultiActionDialog(
|
||||
@NotNull DialogData common,
|
||||
@NotNull List<ClickAction> actions,
|
||||
@Nullable ClickEvent onCancel,
|
||||
@Nullable ClickEvent exitAction,
|
||||
int columns
|
||||
) implements DialogType {
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public record ServerLinksDialog(
|
||||
@NotNull DialogData common,
|
||||
@Nullable ClickEvent onCancel,
|
||||
@Nullable ClickEvent exitAction,
|
||||
int columns,
|
||||
int buttonWidth
|
||||
) implements DialogType {
|
||||
|
||||
Reference in New Issue
Block a user