diff --git a/common/src/main/java/dev/latvian/mods/kubejs/integration/rei/REIEntryWrappers.java b/common/src/main/java/dev/latvian/mods/kubejs/integration/rei/REIEntryWrappers.java index e3f4721ad..5244101cd 100644 --- a/common/src/main/java/dev/latvian/mods/kubejs/integration/rei/REIEntryWrappers.java +++ b/common/src/main/java/dev/latvian/mods/kubejs/integration/rei/REIEntryWrappers.java @@ -3,6 +3,7 @@ import dev.architectury.event.Event; import dev.architectury.event.EventFactory; import dev.latvian.mods.kubejs.core.IngredientKJS; +import dev.latvian.mods.kubejs.fluid.FluidStackJS; import dev.latvian.mods.kubejs.item.ingredient.IngredientJS; import me.shedaniel.rei.api.common.entry.type.EntryType; import me.shedaniel.rei.api.common.entry.type.VanillaEntryTypes; @@ -23,7 +24,7 @@ public class REIEntryWrappers { public REIEntryWrappers() { this.entryWrappers = new HashMap<>(); add(VanillaEntryTypes.ITEM, IngredientJS::of, Function.identity(), IngredientKJS::kjs$getDisplayStacks); - // add(VanillaEntryTypes.FLUID, o -> FluidStackJS.of(o)); + add(VanillaEntryTypes.FLUID, o -> FluidStackJS.of(o).getFluidStack(), fs -> fs::isFluidEqual, List::of); EVENT.invoker().accept(this); }