Skip to content

Commit 91c440f

Browse files
committed
fix compile and add note
1 parent 98525eb commit 91c440f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityWorkbench.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public ModularPanel buildUI(PosGuiData guiData, PanelSyncManager guiSyncManager)
224224
.tab(GuiTextures.TAB_TOP, 0)
225225
.addTooltipLine(IKey.lang("gregtech.machine.workbench.tab.item_list"))
226226
.addTooltipLine(IKey.lang("gregtech.machine.workbench.storage_note")
227-
.format(TextFormatting.DARK_GRAY))
227+
.style(TextFormatting.DARK_GRAY))
228228
.overlay(CHEST)))
229229
.child(IKey.lang(getMetaFullName())
230230
.asWidget()
@@ -354,6 +354,8 @@ public IWidget createInventoryPage(PanelSyncManager syncManager) {
354354
.background(GTGuiTextures.DISPLAY);
355355
}
356356

357+
// this is actually supposed to include the tool and storage inventory
358+
// but that causes problems
357359
List<ItemSlot> list = new ArrayList<>(this.connectedInventory.getSlots());
358360

359361
for (int i = 0; i < this.connectedInventory.getSlots(); i++) {

src/main/java/gregtech/common/mui/widget/workbench/RecipeMemorySlot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public RecipeMemorySlot(CraftingRecipeMemory memory, int index) {
3838
tooltip.addLine(IKey.lang("gregtech.recipe_memory_widget.tooltip.1"));
3939
tooltip.addLine(IKey.lang("gregtech.recipe_memory_widget.tooltip.2"));
4040
tooltip.addLine(IKey.lang("gregtech.recipe_memory_widget.tooltip.0", recipe.timesUsed)
41-
.format(TextFormatting.WHITE));
41+
.style(TextFormatting.WHITE));
4242
});
4343
}
4444

0 commit comments

Comments
 (0)