Skip to content

Commit

Permalink
Removed "Does not support shaders!" Message
Browse files Browse the repository at this point in the history
  • Loading branch information
XDPXI committed Nov 22, 2024
1 parent 542a2a0 commit 341cdb7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/client/java/dev/xdpxi/xdlib/support.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,14 @@ protected void init() {
private void showPopups() {
if (!shownToast) {
shownToast = true;
if (loader.isModLoaded("iris") || loader.isModLoaded("optifine")) {
LOGGER.warn("[XDLib] - Does not support shaders!");
this.client.getToastManager().add(
new SystemToast(SystemToast.Type.NARRATOR_TOGGLE, Text.of("XD's Library"), Text.of("Does not support shaders!"))
);
}
if (!loader.isModLoaded("cloth-config")) {
LOGGER.warn("[XDLib] - Recommends the use of 'cloth-config'");
this.client.getToastManager().add(
new SystemToast(SystemToast.Type.NARRATOR_TOGGLE, Text.of("XD's Library"), Text.of("Recommends the use of 'cloth-config'"))
);
}
if (updateChecker.isUpdate()) {
LOGGER.warn("[XDLib] - An update is available!");
this.client.getToastManager().add(
new SystemToast(SystemToast.Type.NARRATOR_TOGGLE, Text.of("XD's Library"), Text.of("An update is available!"))
);
Expand Down

0 comments on commit 341cdb7

Please sign in to comment.