aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl/api/Controller.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/dev/isxander/yacl/api/Controller.java')
-rw-r--r--src/main/java/dev/isxander/yacl/api/Controller.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/dev/isxander/yacl/api/Controller.java b/src/main/java/dev/isxander/yacl/api/Controller.java
index 198e5df..1a00920 100644
--- a/src/main/java/dev/isxander/yacl/api/Controller.java
+++ b/src/main/java/dev/isxander/yacl/api/Controller.java
@@ -1,8 +1,8 @@
package dev.isxander.yacl.api;
import dev.isxander.yacl.api.utils.Dimension;
+import dev.isxander.yacl.gui.AbstractWidget;
import dev.isxander.yacl.gui.YACLScreen;
-import dev.isxander.yacl.gui.controllers.ControllerWidget;
import net.minecraft.text.Text;
import org.jetbrains.annotations.ApiStatus;
@@ -26,5 +26,5 @@ public interface Controller<T> {
* @param screen parent screen
*/
@ApiStatus.Internal
- ControllerWidget<?> provideWidget(YACLScreen screen, Dimension<Integer> widgetDimension);
+ AbstractWidget provideWidget(YACLScreen screen, Dimension<Integer> widgetDimension);
}