Interfaces now drop there items properly.

This commit is contained in:
AlgorithmX2
2014-06-22 23:51:20 -05:00
parent 12c0abbac6
commit d730fe17b1
3 changed files with 27 additions and 11 deletions
+18
View File
@@ -784,4 +784,22 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
}
}
public void addDrops(List<ItemStack> drops)
{
if ( waitingToSend != null )
{
for (ItemStack is : waitingToSend)
if ( is != null )
drops.add( is );
}
for (ItemStack is : storage)
if ( is != null )
drops.add( is );
for (ItemStack is : patterns)
if ( is != null )
drops.add( is );
}
}