From 38ee19a32a02fecf0a58ab7776c9c2d770d1c7a3 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Thu, 18 Jun 2020 00:03:52 +0100 Subject: [PATCH] Fix toggle component json generation (#777) --- .../geysermc/common/window/component/ToggleComponent.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/src/main/java/org/geysermc/common/window/component/ToggleComponent.java b/common/src/main/java/org/geysermc/common/window/component/ToggleComponent.java index 50a5c631a..f972d5906 100644 --- a/common/src/main/java/org/geysermc/common/window/component/ToggleComponent.java +++ b/common/src/main/java/org/geysermc/common/window/component/ToggleComponent.java @@ -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) {