diff --git a/src/main/java/mcjty/theoneprobe/Utilities.java b/src/main/java/mcjty/theoneprobe/Utilities.java index 99924317..1f2e8778 100644 --- a/src/main/java/mcjty/theoneprobe/Utilities.java +++ b/src/main/java/mcjty/theoneprobe/Utilities.java @@ -8,7 +8,7 @@ import mcjty.theoneprobe.api.TextStyleClass; import mcjty.theoneprobe.apiimpl.styles.ItemStyle; import mcjty.theoneprobe.apiimpl.styles.LayoutStyle; -import mcjty.theoneprobe.config.Config; +import mcjty.theoneprobe.config.ConfigSetup; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.items.ItemHandlerHelper; @@ -48,11 +48,11 @@ public static void addItemStack(@Nonnull List stacks, @Nonnull Set stacks, @Nonnull ProbeMode mode) { - IProbeInfo vertical = probeInfo.vertical(probeInfo.defaultLayoutStyle().borderColor(Config.chestContentsBorderColor).spacing(0)); + IProbeInfo vertical = probeInfo.vertical(probeInfo.defaultLayoutStyle().borderColor(ConfigSetup.chestContentsBorderColor).spacing(0)); int rows = 0; int idx = 0; - if (Tools.show(mode, Config.getRealConfig().getShowChestContentsDetailed()) && stacks.size() <= Config.showItemDetailThresshold) { + if (Tools.show(mode, ConfigSetup.getRealConfig().getShowChestContentsDetailed()) && stacks.size() <= ConfigSetup.showItemDetailThresshold) { for (ItemStack stackInSlot : stacks) { vertical.horizontal(new LayoutStyle().spacing(10).alignment(ElementAlignment.ALIGN_CENTER)) .item(stackInSlot, new ItemStyle().width(16).height(16))