1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-14 05:44:52 +00:00

Don't render background in the off-hand pocket UI

Fixes #1778
This commit is contained in:
Jonathan Coates 2024-04-08 12:02:25 +01:00
parent 22bd5309ba
commit 688fdc40a6
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -105,6 +105,11 @@ public class NoTermComputerScreen<T extends AbstractComputerMenu> extends Screen
}
}
@Override
public void renderBackground(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) {
// Skip rendering the background.
}
private Minecraft minecraft() {
return Nullability.assertNonNull(minecraft);
}