1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 11:10:29 +00:00

Rename node → m_node

It's a bit of an ugly naming convention, but it's consistent.
This commit is contained in:
SquidDev 2018-04-16 17:10:08 +01:00
parent b2aa390ae1
commit 04f162ef25
2 changed files with 8 additions and 8 deletions

View File

@ -475,9 +475,9 @@ public class TileCable extends TileModemBase
{
if( !m_connectionsFormed )
{
m_connectionsFormed = true;
connectionsChanged();
if( m_peripheralAccessAllowed ) m_node.invalidate();
m_connectionsFormed = true;
}
}
}

View File

@ -95,7 +95,7 @@ public class TileWiredModemFull extends TilePeripheralBase
private boolean m_connectionsFormed = false;
private final WiredModemElement m_element = new FullElement( this );
private final IWiredNode node = m_element.getNode();
private final IWiredNode m_node = m_element.getNode();
public TileWiredModemFull()
{
@ -106,7 +106,7 @@ public class TileWiredModemFull extends TilePeripheralBase
{
if( world == null || !world.isRemote )
{
node.remove();
m_node.remove();
m_connectionsFormed = false;
}
}
@ -163,7 +163,7 @@ public class TileWiredModemFull extends TilePeripheralBase
// Always invalidate the node: it's more accurate than checking if the peripherals
// have changed
node.invalidate();
m_node.invalidate();
}
}
@ -293,9 +293,9 @@ public class TileWiredModemFull extends TilePeripheralBase
if( !m_connectionsFormed )
{
connectionsChanged();
if( m_peripheralAccessAllowed ) node.invalidate();
m_connectionsFormed = true;
connectionsChanged();
if( m_peripheralAccessAllowed ) m_node.invalidate();
}
}
@ -317,7 +317,7 @@ public class TileWiredModemFull extends TilePeripheralBase
if( element == null ) continue;
// If we can connect to it then do so
node.connectTo( element.getNode() );
m_node.connectTo( element.getNode() );
}
}
@ -339,7 +339,7 @@ public class TileWiredModemFull extends TilePeripheralBase
}
updateAnim();
node.invalidate();
m_node.invalidate();
}
@Nonnull