Typo diffrence
This commit is contained in:
parent
fbe541f8d7
commit
d0759d3d79
2 changed files with 8 additions and 8 deletions
6
me/cache/NetworkMonitor.java
vendored
6
me/cache/NetworkMonitor.java
vendored
|
@ -68,10 +68,10 @@ public class NetworkMonitor<T extends IAEStack<T>> extends MEMonitorHandler<T>
|
|||
|
||||
for (T changedItem : changes)
|
||||
{
|
||||
T diffrence = changedItem;
|
||||
T difference = changedItem;
|
||||
|
||||
if ( !Add && changedItem != null )
|
||||
(diffrence = changedItem.copy()).setStackSize( -changedItem.getStackSize() );
|
||||
(difference = changedItem.copy()).setStackSize( -changedItem.getStackSize() );
|
||||
|
||||
if ( myGridCache.interestManager.containsKey( changedItem ) )
|
||||
{
|
||||
|
@ -88,7 +88,7 @@ public class NetworkMonitor<T extends IAEStack<T>> extends MEMonitorHandler<T>
|
|||
myGridCache.interestManager.enableTransactions();
|
||||
|
||||
for (ItemWatcher iw : list)
|
||||
iw.getHost().onStackChange( myStorageList, fullStack, diffrence, src, getChannel() );
|
||||
iw.getHost().onStackChange( myStorageList, fullStack, difference, src, getChannel() );
|
||||
|
||||
myGridCache.interestManager.disableTransactions();
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ import appeng.util.item.AEItemStack;
|
|||
public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEAppEngInventory, ILocatable, IConfigManagerHost, ISecurityProvider, IColorableTile
|
||||
{
|
||||
|
||||
private static int diffrence = 0;
|
||||
private static int difference = 0;
|
||||
private IConfigManager cm = new ConfigManager( this );
|
||||
|
||||
private SecurityInventory inventory = new SecurityInventory( this );
|
||||
|
@ -237,11 +237,11 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp
|
|||
public TileSecurity() {
|
||||
gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL );
|
||||
gridProxy.setIdlePowerUsage( 2.0 );
|
||||
diffrence++;
|
||||
difference++;
|
||||
|
||||
securityKey = System.currentTimeMillis() * 10 + diffrence;
|
||||
if ( diffrence > 10 )
|
||||
diffrence = 0;
|
||||
securityKey = System.currentTimeMillis() * 10 + difference;
|
||||
if ( difference > 10 )
|
||||
difference = 0;
|
||||
|
||||
cm.registerSetting( Settings.SORT_BY, SortOrder.NAME );
|
||||
cm.registerSetting( Settings.VIEW_MODE, ViewItems.ALL );
|
||||
|
|
Loading…
Reference in a new issue