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(
|
public record DialogListDialog(
|
||||||
@NotNull DialogData common,
|
@NotNull DialogData common,
|
||||||
@NotNull List<DialogType> dialogs,
|
@NotNull List<DialogType> dialogs,
|
||||||
@Nullable ClickEvent onCancel,
|
@Nullable ClickEvent exitAction,
|
||||||
int columns,
|
int columns,
|
||||||
int buttonWidth
|
int buttonWidth
|
||||||
) implements DialogType {
|
) implements DialogType {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.List;
|
|||||||
public record MultiActionDialog(
|
public record MultiActionDialog(
|
||||||
@NotNull DialogData common,
|
@NotNull DialogData common,
|
||||||
@NotNull List<ClickAction> actions,
|
@NotNull List<ClickAction> actions,
|
||||||
@Nullable ClickEvent onCancel,
|
@Nullable ClickEvent exitAction,
|
||||||
int columns
|
int columns
|
||||||
) implements DialogType {
|
) implements DialogType {
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
|
|
||||||
public record ServerLinksDialog(
|
public record ServerLinksDialog(
|
||||||
@NotNull DialogData common,
|
@NotNull DialogData common,
|
||||||
@Nullable ClickEvent onCancel,
|
@Nullable ClickEvent exitAction,
|
||||||
int columns,
|
int columns,
|
||||||
int buttonWidth
|
int buttonWidth
|
||||||
) implements DialogType {
|
) implements DialogType {
|
||||||
|
|||||||
Reference in New Issue
Block a user