mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-22 08:19:20 +00:00
Fix toggle component json generation (#777)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user