Widget: Mark getChildren() as nullable

This commit is contained in:
Jordan Atwood
2021-02-18 14:55:40 -08:00
committed by Adam
parent 7c59815869
commit bd67d82bbb

View File

@@ -26,6 +26,7 @@ package net.runelite.api.widgets;
import java.awt.Rectangle;
import java.util.Collection;
import javax.annotation.Nullable;
import net.runelite.api.FontTypeFace;
import net.runelite.api.Point;
@@ -116,6 +117,7 @@ public interface Widget
/**
* Gets the dynamic children of this widget in a sparse array
*/
@Nullable
Widget[] getChildren();
/**