From 67f5994258737387c2d827ece5e60c6bcf10c80f Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 11 Nov 2024 02:35:10 +0100 Subject: fix: REI crash --- src/compat/rei/java/moe/nea/firmament/compat/rei/EntityWidget.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compat/rei/java/moe') diff --git a/src/compat/rei/java/moe/nea/firmament/compat/rei/EntityWidget.kt b/src/compat/rei/java/moe/nea/firmament/compat/rei/EntityWidget.kt index b0efc98..7a464c3 100644 --- a/src/compat/rei/java/moe/nea/firmament/compat/rei/EntityWidget.kt +++ b/src/compat/rei/java/moe/nea/firmament/compat/rei/EntityWidget.kt @@ -5,10 +5,13 @@ import me.shedaniel.math.Point import me.shedaniel.math.Rectangle import me.shedaniel.rei.api.client.gui.widgets.WidgetWithBounds import net.minecraft.client.gui.DrawContext +import net.minecraft.client.gui.Drawable import net.minecraft.client.gui.Element +import net.minecraft.client.gui.ParentElement import net.minecraft.entity.LivingEntity import moe.nea.firmament.gui.entity.EntityRenderer + class EntityWidget(val entity: LivingEntity, val point: Point) : WidgetWithBounds() { override fun children(): List { return emptyList() -- cgit