diff options
| author | MODKILLER1001 | 2022-09-15 00:38:03 -0400 |
|---|---|---|
| committer | MODKILLER1001 | 2022-09-15 00:38:03 -0400 |
| commit | 0abff1883b3bfabe3e1048fd68b8aaf4f406bcf1 (patch) | |
| tree | a0a0a3aac42405f6c404f7c0b5bc7c16495a276e | |
| parent | 4f6402335faaf0305444f9207f1f532a9fd44fc3 (diff) | |
why is this edited
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatOptionsScreen.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatOptionsScreen.java b/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatOptionsScreen.java index 2d0c9ba..dab16ad 100644 --- a/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatOptionsScreen.java +++ b/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatOptionsScreen.java @@ -5,7 +5,6 @@ import java.util.List; import org.jetbrains.annotations.NotNull; import org.spongepowered.asm.mixin.Mixin; -import com.aizistral.nochatreports.config.NCRConfig; import com.mojang.blaze3d.vertex.PoseStack; import net.minecraft.client.Minecraft; @@ -44,10 +43,6 @@ public class MixinChatOptionsScreen extends SimpleOptionsSubScreen { @Override protected void init() { super.init(); - - if (!NCRConfig.getClient().enableMod()) - return; - this.secureChatTooltip = Minecraft.getInstance().font.split(Component.translatable("gui.nochatreport.secureChat"), 200); this.onlyShowSecureChat = this.list.findOption(Minecraft.getInstance().options.onlyShowSecureChat()); @@ -65,10 +60,6 @@ public class MixinChatOptionsScreen extends SimpleOptionsSubScreen { @Override public void render(@NotNull PoseStack poseStack, int x, int y, float f) { super.render(poseStack, x, y, f); - - if (!NCRConfig.getClient().enableMod()) - return; - if (this.onlyShowSecureChat != null && this.onlyShowSecureChat.visible && x >= (double) this.onlyShowSecureChat.x && y >= (double) this.onlyShowSecureChat.y && x < (double) (this.onlyShowSecureChat.x + this.onlyShowSecureChat.getWidth()) && y < (double) (this.onlyShowSecureChat.y + this.onlyShowSecureChat.getHeight())) { this.renderTooltip(poseStack, this.secureChatTooltip, x, y); } |
