forked from GeyserMC/Geyser
Fix form images (#771)
This commit is contained in:
parent
7fcd8f2daf
commit
0d6c3309e2
1 changed files with 2 additions and 2 deletions
|
@ -32,14 +32,14 @@ public class FormImage {
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
private FormImageType type;
|
private String type;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
private String data;
|
private String data;
|
||||||
|
|
||||||
public FormImage(FormImageType type, String data) {
|
public FormImage(FormImageType type, String data) {
|
||||||
this.type = type;
|
this.type = type.getName();
|
||||||
this.data = data;
|
this.data = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue