Fix toggle component json generation (#777)

This commit is contained in:
rtm516 2020-06-18 00:03:52 +01:00 committed by GitHub
parent 6388a91587
commit 38ee19a32a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {