From a0f4582f97a8ca475c103afd0672a240f44f514d Mon Sep 17 00:00:00 2001 From: StartsMercury <89975834+StartsMercury@users.noreply.github.com> Date: Sun, 10 Nov 2024 13:11:58 +0800 Subject: [PATCH] Update Component.java: add missing nullable annotation --- .../dev/crmodders/flux/api/ui/components/client/Component.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/crmodders/flux/api/ui/components/client/Component.java b/src/main/java/dev/crmodders/flux/api/ui/components/client/Component.java index 9ac21bd..238b52e 100644 --- a/src/main/java/dev/crmodders/flux/api/ui/components/client/Component.java +++ b/src/main/java/dev/crmodders/flux/api/ui/components/client/Component.java @@ -351,7 +351,7 @@ public void drawText(final Viewport viewport, final SpriteBatch batch) { batch.setColor(oldColor); } - public String getText() { + public @Nullable String getText() { return this.text; }