Fix issue with over utilization of items as they array, only use what you ware waiting for.

Interface now wakes it self up when power arrives.
This commit is contained in:
AlgorithmX2
2014-07-05 16:52:15 -05:00
parent a966c78c12
commit 2625b788b1
3 changed files with 42 additions and 10 deletions
+12
View File
@@ -830,6 +830,18 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
public void notifyNeightbors()
{
if ( gridProxy.isActive() )
{
try
{
gridProxy.getTick().wakeDevice( gridProxy.getNode() );
}
catch (GridAccessException e)
{
// :P
}
}
TileEntity te = iHost.getTileEntity();
if ( te != null && te.getWorldObj() != null )
{