mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Mark BinRecipe as dynamic. Removes Caliper Air warning closes #5174
This commit is contained in:
1 file changed
+6
-1
@@ -2,10 +2,10 @@ package mekanism.common.recipe;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import mekanism.common.MekanismItems;
|
||||
import mekanism.common.tier.BinTier;
|
||||
import mekanism.common.block.states.BlockStateBasic.BasicBlockType;
|
||||
import mekanism.common.inventory.InventoryBin;
|
||||
import mekanism.common.item.ItemProxy;
|
||||
import mekanism.common.tier.BinTier;
|
||||
import mekanism.common.util.ItemDataUtils;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.InventoryCrafting;
|
||||
@@ -107,6 +107,11 @@ public class BinRecipe extends IForgeRegistryEntry.Impl<IRecipe> implements IRec
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDynamic() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public NonNullList<ItemStack> getRemainingItems(InventoryCrafting inv) {
|
||||
|
||||
Reference in new issue
Block a user