forked from GeyserMC/Geyser
Fix toggle component json generation (#777)
This commit is contained in:
parent
6388a91587
commit
38ee19a32a
1 changed files with 8 additions and 0 deletions
|
@ -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…
Reference in a new issue