Typo isDiffrent

This commit is contained in:
thatsIch 2014-09-21 02:20:22 +02:00
parent a146f65bd1
commit 6b1a975701

View file

@ -179,7 +179,7 @@ public class MEMonitorIInventory implements IMEInventory<IAEItemStack>, IMEMonit
ItemStack newIS = is == null || is.isExtractable == false && mode == StorageFilter.EXTRACTABLE_ONLY ? null : is.getItemStack(); ItemStack newIS = is == null || is.isExtractable == false && mode == StorageFilter.EXTRACTABLE_ONLY ? null : is.getItemStack();
ItemStack oldIS = old == null ? null : old.itemStack; ItemStack oldIS = old == null ? null : old.itemStack;
if ( isDiffrent( newIS, oldIS ) ) if ( isDifferent( newIS, oldIS ) )
{ {
CachedItemStack cis = new CachedItemStack( is.getItemStack() ); CachedItemStack cis = new CachedItemStack( is.getItemStack() );
memory.put( is.slot, cis ); memory.put( is.slot, cis );
@ -246,7 +246,7 @@ public class MEMonitorIInventory implements IMEInventory<IAEItemStack>, IMEMonit
return changed ? TickRateModulation.URGENT : TickRateModulation.SLOWER; return changed ? TickRateModulation.URGENT : TickRateModulation.SLOWER;
} }
private boolean isDiffrent(ItemStack a, ItemStack b) private boolean isDifferent(ItemStack a, ItemStack b)
{ {
if ( a == b && b == null ) if ( a == b && b == null )
return false; return false;