Skip to content

Commit e7bcefd

Browse files
committed
correct payload field
1 parent dfe977e commit e7bcefd

File tree

1 file changed

+1
-1
lines changed
  • paper/src/main/java/io/github/projectunified/unidialog/paper

1 file changed

+1
-1
lines changed

paper/src/main/java/io/github/projectunified/unidialog/paper/PaperUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public interface PaperUtil {
1212
@SuppressWarnings("unchecked")
1313
static Map<String, String> convertDialogResponseToMap(DialogResponseView response) {
1414
try {
15-
Field compoundField = response.getClass().getDeclaredField("compound");
15+
Field compoundField = response.getClass().getDeclaredField("payload");
1616
compoundField.setAccessible(true);
1717

1818
Object compound = compoundField.get(response);

0 commit comments

Comments
 (0)