Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal0404 committed Jan 7, 2025
1 parent 9e00e3f commit e4a7cb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation;
import crystal0404.crystalcarpetaddition.CCASettings;
import crystal0404.crystalcarpetaddition.utils.ModIds;
import crystal0404.crystalcarpetaddition.utils.shulkerBoxUtils.ShulkerBoxsSet;
import crystal0404.crystalcarpetaddition.utils.shulkerBoxUtils.ShulkerBoxesSet;
import me.fallenbreath.conditionalmixin.api.annotation.Condition;
import me.fallenbreath.conditionalmixin.api.annotation.Restriction;
import net.minecraft.block.entity.HopperBlockEntity;
Expand All @@ -49,7 +49,7 @@ private static boolean transferMixin(ItemStack first, ItemStack second, Operatio
if (
CCASettings.StackableShulkerBoxesEnhancement
&& CarpetSettings.shulkerBoxStackSize != 1
&& ShulkerBoxsSet.ITEMS_SET.contains(first.getItem())
&& ShulkerBoxesSet.ITEMS_SET.contains(first.getItem())
) {
return false;
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

public class ColourMap {
// It has to be remapped because DyeColor is obfuscated and can't be used directly as a setting option
private final static ImmutableMap<Colour, DyeColor> DYE_COLOR_IMMUTABLE_MAP = new ImmutableMap.Builder<Colour, DyeColor>()
private static final ImmutableMap<Colour, DyeColor> DYE_COLOR_IMMUTABLE_MAP = new ImmutableMap.Builder<Colour, DyeColor>()
.put(Colour.PINK, DyeColor.PINK)
.put(Colour.WHITE, DyeColor.WHITE)
.put(Colour.LIGHT_GRAY, DyeColor.LIGHT_GRAY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import net.minecraft.item.Item;
import net.minecraft.item.Items;

public final class ShulkerBoxsSet {
public final class ShulkerBoxesSet {
public static final ImmutableSet<Item> ITEMS_SET = ImmutableSet.of(
Items.SHULKER_BOX,
Items.WHITE_SHULKER_BOX,
Expand Down

0 comments on commit e4a7cb9

Please sign in to comment.