mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-12 02:10:30 +00:00
Dont' remove treasure disks from JEI
This shouldn't matter either way - we don't expose it in the creative menu, and there's no recipes for it. This should shut up a log message though. Fixes #305.
This commit is contained in:
parent
0de75f05dd
commit
ee4e42e730
@ -35,7 +35,6 @@ import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import static dan200.computercraft.shared.integration.jei.RecipeResolver.MAIN_FAMILIES;
|
||||
@ -92,10 +91,6 @@ public class JEIComputerCraft implements IModPlugin
|
||||
|
||||
runtime.getIngredientManager().addIngredientsAtRuntime( VanillaTypes.ITEM, upgradeItems );
|
||||
|
||||
// Hide treasure disks
|
||||
runtime.getIngredientManager().removeIngredientsAtRuntime( VanillaTypes.ITEM,
|
||||
Collections.singletonList( new ItemStack( ComputerCraft.Items.treasureDisk ) ) );
|
||||
|
||||
// Hide all upgrade recipes
|
||||
IRecipeCategory<?> category = (IRecipeCategory<?>) registry.getRecipeCategory( VanillaRecipeCategoryUid.CRAFTING );
|
||||
if( category != null )
|
||||
|
Loading…
Reference in New Issue
Block a user