Fixed OmegaArmour client-server-side issue.
This commit is contained in:
parent
468734125a
commit
882b54d892
4 changed files with 57 additions and 2 deletions
|
@ -0,0 +1,11 @@
|
|||
package WayofTime.alchemicalWizardry.api;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class RoutingFocusLogicMatchNBT extends RoutingFocusLogic
|
||||
{
|
||||
public boolean doesItemMatch(boolean previous, ItemStack keyStack, ItemStack checkedStack)
|
||||
{
|
||||
return previous && (keyStack != null ? checkedStack != null && keyStack.getItem() == checkedStack.getItem() && (keyStack.getItem().getHasSubtypes() ? keyStack.getItemDamage() == checkedStack.getItemDamage() : true) && keyStack.areItemStackTagsEqual(keyStack, checkedStack) : false);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue