Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Dec 25, 2023
1 parent a3d9b45 commit 7c90451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/coderbot/iris/Iris.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 7c90451

Please sign in to comment.