Skip to content

Commit

Permalink
Fix JEI Mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
ALongStringOfNumbers committed Dec 21, 2023
1 parent c552ba1 commit ba5122a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/gregtech/mixins/jei/JEITooltipMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@

import java.util.List;

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

@Inject(method = "addModNameToIngredientTooltip", at = @At("HEAD"), remap = false)
@Inject(method = "addModNameToIngredientTooltip", at = @At("RETURN"), remap = false)
public void addTooltip(List<String> tooltip, Object ingredient, IIngredientHelper<Object> ingredientHelper,
CallbackInfoReturnable<List<String>> cir) {
if (ingredient instanceof FluidStack) {
Expand Down

0 comments on commit ba5122a

Please sign in to comment.