forked from GeyserMC/Geyser
Merge master into Spigot rename
This commit is contained in:
commit
427f4ef83d
40 changed files with 525 additions and 114 deletions
|
@ -32,14 +32,14 @@ public class FormImage {
|
|||
|
||||
@Getter
|
||||
@Setter
|
||||
private FormImageType type;
|
||||
private String type;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private String data;
|
||||
|
||||
public FormImage(FormImageType type, String data) {
|
||||
this.type = type;
|
||||
this.type = type.getName();
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,9 +25,17 @@
|
|||
|
||||
package org.geysermc.common.window.component;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
public class ToggleComponent extends FormComponent {
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private String text;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private boolean defaultValue;
|
||||
|
||||
public ToggleComponent(String text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue