Skip to content

Commit

Permalink
fix compile on 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Sep 17, 2022
1 parent b5e3dea commit efb20a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ object ScreenRenderer extends TileEntitySpecialRenderer[Screen] {
RenderState.checkError(getClass.getName + ".render: fade")

if (screen.buffer.isRenderingEnabled) {
val profiler = Minecraft.getMinecraft.mcProfiler
val profiler = Minecraft.getMinecraft.profiler
profiler.startSection("opencomputers:screen_text")
draw()
profiler.endSection()
Expand Down

0 comments on commit efb20a2

Please sign in to comment.