@@ -38,9 +38,9 @@ public void renderComponent(int mouseX, int mouseY) {
3838 module = this .parent .mod ;
3939 RenderUtil2D .drawRectMC (parent .parent .getX () + WurstplusGuiNew .SETTING_OFFSET , parent .parent .getY () + offset + WurstplusGuiNew .MODULE_OFFSET , parent .parent .getX () + parent .parent .getWidth () - WurstplusGuiNew .SETTING_OFFSET , parent .parent .getY () + offset + WurstplusGuiNew .HEIGHT + WurstplusGuiNew .MODULE_OFFSET , this .isHovered ? WurstplusGuiNew .GUI_HOVERED_COLOR () : WurstplusGuiNew .GUI_COLOR ());
4040 if (Gui .INSTANCE .customFont .getValue ()) {
41- WurstplusThree .GUI_FONT_MANAGER .drawStringWithShadow ("Shown: " + (this .module .getShown () ? "True" : "False" ), parent .parent .getX () + WurstplusGuiNew .SUB_FONT_SIZE , parent .parent .getY () + offset + 3 + WurstplusGuiNew .MODULE_OFFSET , Gui .INSTANCE .fontColor .getValue ().hashCode ());
41+ WurstplusThree .GUI_FONT_MANAGER .drawStringWithShadow ("Shown: " + (this .module .isNotification () ? "True" : "False" ), parent .parent .getX () + WurstplusGuiNew .SUB_FONT_SIZE , parent .parent .getY () + offset + 3 + WurstplusGuiNew .MODULE_OFFSET , Gui .INSTANCE .fontColor .getValue ().hashCode ());
4242 } else {
43- mc .fontRenderer .drawStringWithShadow ("Shown: " + (this .module .getShown () ? "True" : "False" ), parent .parent .getX () + WurstplusGuiNew .SUB_FONT_SIZE , parent .parent .getY () + offset + 3 + WurstplusGuiNew .MODULE_OFFSET , Gui .INSTANCE .fontColor .getValue ().hashCode ());
43+ mc .fontRenderer .drawStringWithShadow ("Shown: " + (this .module .isNotification () ? "True" : "False" ), parent .parent .getX () + WurstplusGuiNew .SUB_FONT_SIZE , parent .parent .getY () + offset + 3 + WurstplusGuiNew .MODULE_OFFSET , Gui .INSTANCE .fontColor .getValue ().hashCode ());
4444 }
4545 }
4646
@@ -63,7 +63,7 @@ public boolean isMouseOnButton(int x, int y) {
6363 @ Override
6464 public void mouseClicked (int mouseX , int mouseY , int button ) {
6565 if (isMouseOnButton (mouseX , mouseY ) && button == 0 && this .parent .isOpen ) {
66- this .module .setShown (!this .module .getShown ());
66+ this .module .setNotification (!this .module .isNotification ());
6767 }
6868 }
6969
0 commit comments