mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
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;
|
package org.geysermc.common.window.component;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
public class ToggleComponent extends FormComponent {
|
public class ToggleComponent extends FormComponent {
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
private String text;
|
private String text;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
private boolean defaultValue;
|
private boolean defaultValue;
|
||||||
|
|
||||||
public ToggleComponent(String text) {
|
public ToggleComponent(String text) {
|
||||||
|
|
Loading…
Reference in a new issue