mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Start on JEI plugin, bump Forge version, fixed Mod ID filters (ItemRegistryUtils)
This commit is contained in:
1 parent
ac7f2f9783
commit
89604ac199
7 files changed
+105
-24
No files matched your search
@@ -5,7 +5,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import mekanism.api.util.ItemInfo;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import mekanism.common.util.ItemRegistryUtils;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
@@ -122,7 +122,7 @@ public final class OreDictCache
|
||||
for(ItemStack stack : OreDictionary.getOres(key))
|
||||
{
|
||||
ItemStack toAdd = stack.copy();
|
||||
String s = MekanismUtils.getMod(toAdd);
|
||||
String s = ItemRegistryUtils.getMod(toAdd);
|
||||
|
||||
if(!stacks.contains(stack) && toAdd.getItem() instanceof ItemBlock)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user