Skip to content

Commit ba5122a

Browse files
Fix JEI Mixin
1 parent c552ba1 commit ba5122a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/gregtech/mixins/jei/JEITooltipMixin.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313

1414
import java.util.List;
1515

16-
// TODO, Needs to apply to the fluid items in JEI
1716
@Mixin(ForgeModIdHelper.class)
1817
public class JEITooltipMixin {
1918

20-
@Inject(method = "addModNameToIngredientTooltip", at = @At("HEAD"), remap = false)
19+
@Inject(method = "addModNameToIngredientTooltip", at = @At("RETURN"), remap = false)
2120
public void addTooltip(List<String> tooltip, Object ingredient, IIngredientHelper<Object> ingredientHelper,
2221
CallbackInfoReturnable<List<String>> cir) {
2322
if (ingredient instanceof FluidStack) {

0 commit comments

Comments
 (0)