Fixed inscriber not starting due to vanilla changes.
This commit is contained in:
@@ -88,7 +88,14 @@ public class ItemComparisonHelper
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
public boolean isEqualItem( @Nullable final ItemStack left, @Nullable final ItemStack right )
|
public boolean isEqualItem( @Nullable final ItemStack left, @Nullable final ItemStack right )
|
||||||
{
|
{
|
||||||
return left != null && right != null && left.isItemEqual( right );
|
return left != null && right != null && /* left.isItemEqual( right ); */ this.isItemEqual(left, right);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A slightly different method from ItemStack.java to skip the isEmpty() check. This allows you to check for identical empty spots..
|
||||||
|
*/
|
||||||
|
public boolean isItemEqual( ItemStack left, ItemStack right) {
|
||||||
|
return left.getItem() == right.getItem() && left.getItemDamage() == right.getItemDamage();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user