Skip to content

Commit 83346e3

Browse files
committed
fix: nullability bound in 1.21.7
1 parent 0160161 commit 83346e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modern/1.21.7/src/main/kotlin/io/github/notenoughupdates/moulconfig/platform/ModernRenderContext.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class ModernRenderContext(val drawContext: DrawContext) : RenderContext {
216216
)
217217
}
218218

219-
override fun drawTooltipNow(x: Int, y: Int, tooltipLines: List<String?>) {
219+
override fun drawTooltipNow(x: Int, y: Int, tooltipLines: List<String>) {
220220
drawContext.drawTooltipImmediately(
221221
MinecraftClient.getInstance().textRenderer,
222222
tooltipLines.map { TooltipComponent.of(Text.literal(it).asOrderedText()) },

0 commit comments

Comments
 (0)