Fixed OmegaArmour client-server-side issue.

This commit is contained in:
WayofTime 2015-01-23 07:53:40 -05:00
parent 468734125a
commit 882b54d892
4 changed files with 57 additions and 2 deletions

View file

@ -0,0 +1,12 @@
package WayofTime.alchemicalWizardry.api;
import net.minecraft.item.ItemStack;
public class RoutingFocusLogicIgnMeta extends RoutingFocusLogic
{
@Override
public boolean doesItemMatch(boolean previous, ItemStack keyStack, ItemStack checkedStack)
{
return previous || (keyStack != null ? checkedStack != null && keyStack.getItem() == checkedStack.getItem() : false);
}
}