Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
Fix toggle component json generation (#777)
Dieser Commit ist enthalten in:
Ursprung
6388a91587
Commit
38ee19a32a
@ -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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren