diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-11 02:35:10 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-11 02:35:10 +0100 |
commit | 67f5994258737387c2d827ece5e60c6bcf10c80f (patch) | |
tree | b37e5228c46c8133e94c90c5cb717ad2186c2db5 /src/compat | |
parent | 85eac70cb5c0d08bda56fc454e9a620949ab8cb1 (diff) | |
download | Firmament-67f5994258737387c2d827ece5e60c6bcf10c80f.tar.gz Firmament-67f5994258737387c2d827ece5e60c6bcf10c80f.tar.bz2 Firmament-67f5994258737387c2d827ece5e60c6bcf10c80f.zip |
fix: REI crash
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/rei/java/moe/nea/firmament/compat/rei/EntityWidget.kt | 3 |
1 files changed, 3 insertions, 0 deletions
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<Element> { return emptyList() |