Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Aug 1, 2024
1 parent 4db3935 commit 303454a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static Screen configScreen(Screen parent) {

// GUIs

//#if MC <= 1.20.44
//#if MC <= 1.20.4
//$$ .group(OptionGroup.createBuilder()
//$$ .name(Text.literal("Tab Background"))
//$$ .option(Option.createBuilder(float.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package dev.microcontrollers.overlaytweaks.mixin;

import com.moulberry.mixinconstraints.annotations.IfMinecraftVersion;
//#if MC >= 1.20.4
//#if MC <= 1.20.4
//$$ import dev.microcontrollers.overlaytweaks.config.OverlayTweaksConfig;
//#endif
import net.minecraft.client.gui.widget.TabNavigationWidget;
import org.spongepowered.asm.mixin.Mixin;
//#if MC >= 1.20.4
//#if MC <= 1.20.4
//$$ import org.spongepowered.asm.mixin.Unique;
//$$ import org.spongepowered.asm.mixin.injection.Constant;
//$$ import org.spongepowered.asm.mixin.injection.ModifyConstant;
Expand All @@ -20,7 +20,7 @@
@IfMinecraftVersion(maxVersion = "1.20.4")
@Mixin(TabNavigationWidget.class)
public class TabNavigationWidgetMixin {
//#if MC >= 1.20.4
//#if MC <= 1.20.4
//$$ @ModifyConstant(method = "render", constant = @Constant(intValue = -16777216))
//$$ private int modifyTabBackgroundColor(int opacity) {
//$$ return withTabBackgroundOpacity(opacity, OverlayTweaksConfig.CONFIG.instance().tabBackgroundOpacity / 100F);
Expand Down

0 comments on commit 303454a

Please sign in to comment.