Skip to content

Commit

Permalink
fix class load error in uplink
Browse files Browse the repository at this point in the history
  • Loading branch information
RecursivePineapple committed Jan 18, 2025
1 parent e986c65 commit e4bcb9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
import appeng.helpers.ICustomNameObject;
import appeng.parts.AEBasePart;

import com.recursive_pineapple.matter_manipulator.MMMod;
import com.recursive_pineapple.matter_manipulator.asm.Optional;
import com.recursive_pineapple.matter_manipulator.common.items.manipulator.ItemMatterManipulator;
import com.recursive_pineapple.matter_manipulator.common.items.manipulator.ItemMatterManipulator.ManipulatorTier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import gregtech.api.metatileentity.implementations.MTEEnhancedMultiBlockBase;

import com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment;
import com.gtnewhorizons.modularui.api.drawable.TextRenderer;

import it.unimi.dsi.fastutil.chars.Char2IntArrayMap;

Expand All @@ -27,8 +26,6 @@ public StructureWrapperInstanceInfo(StructureWrapper<MTE> structure) {
this.structure = structure;
}

private static final int ERROR_WRAP_WIDTH = 180;

public String getErrors() {
List<String> lines = new ArrayList<>();

Expand All @@ -48,7 +45,7 @@ public String getErrors() {
RESET
);

lines.addAll(TextRenderer.getFontRenderer().listFormattedStringToWidth(error, ERROR_WRAP_WIDTH));
lines.add(error);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ protected void drawTexts(DynamicPositionedColumn screenElements, SlotWidget inve
),
TextWidget.dynamicString(() -> structureInstanceInfo.getErrors())
.setTextAlignment(Alignment.CenterLeft)
.setMaxWidth(179)
.setEnabled(structureInstanceInfo.hasErrors)
);
}
Expand Down

0 comments on commit e4bcb9f

Please sign in to comment.