From 7c90451188df79271a91ac6d1c290fbb60ebb6e7 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Mon, 25 Dec 2023 15:30:22 -0800 Subject: [PATCH] Fix build --- src/main/java/net/coderbot/iris/Iris.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/coderbot/iris/Iris.java b/src/main/java/net/coderbot/iris/Iris.java index 03edb851d0..f5d719b766 100644 --- a/src/main/java/net/coderbot/iris/Iris.java +++ b/src/main/java/net/coderbot/iris/Iris.java @@ -255,7 +255,7 @@ public static void handleKeybinds(Minecraft minecraft) { minecraft.setScreen(new ShaderPackScreen(null)); } else if (wireframeKeybind.consumeClick()) { if (irisConfig.areDebugOptionsEnabled() && minecraft.player != null && !Minecraft.getInstance().isLocalServer()) { - minecraft.player.displayClientMessage(new TextComponent("No cheating; wireframe only in singleplayer!"), false); + minecraft.player.displayClientMessage(Component.literal("No cheating; wireframe only in singleplayer!"), false); } } }