From e949eb5599820cf184c15a7a97fc95816020afd1 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername <73719631+ThisIsALegitUsername@users.noreply.github.com> Date: Tue, 11 Apr 2023 07:00:42 -0600 Subject: [PATCH] anti desc --- .../dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java b/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java index 72245799..90e148c5 100644 --- a/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java +++ b/src/main/java/dev/resent/visual/ui/clickgui/rewrite/ClickGuiRewrite.java @@ -160,7 +160,7 @@ public class ClickGuiRewrite extends GuiScreen { int i = fr.drawString(m.getName(), x+120, y+140+offset+scrollOffset, -1, false); GlStateManager.popMatrix(); GlUtils.startScale(x+120+i / 2, y+120+offset+scrollOffset, 1.2f); - if (m.getDescription() != "No Description Set.") { + if (!m.getDescription().startsWith("No des")) { fr.drawString(m.getDescription(), x+20+i, y+140+offset+scrollOffset, -1, false); } GlStateManager.popMatrix();