Skip to content

Commit bf5a4ff

Browse files
committed
Fix #3759 JEI Tooltips are breaking Forge's tooltip event
1 parent 7b1ebde commit bf5a4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/src/main/java/mezz/jei/common/gui/JeiTooltip.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,6 @@ private <T> void addDebugInfo(IIngredientManager ingredientManager, ITypedIngre
224224
}
225225

226226
public List<Either<FormattedText, TooltipComponent>> getLines() {
227-
return Collections.unmodifiableList(lines);
227+
return new ArrayList<>(lines);
228228
}
229229
}

0 commit comments

Comments
 (0)