Annihilation Plane now drops its buffer.

This commit is contained in:
AlgorithmX2
2014-05-27 15:47:36 -05:00
parent 0ac83b04c9
commit 45155caeee
@@ -2,6 +2,7 @@ package appeng.parts.automation;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.Callable;
import net.minecraft.block.Block;
@@ -203,6 +204,14 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
return Buffer.isEmpty();
}
@Override
public void getDrops(List<ItemStack> drops, boolean wrenched)
{
for (IAEItemStack is : Buffer)
if ( is != null )
drops.add( is.getItemStack() );
}
@MENetworkEventSubscribe
public void chanRender(MENetworkChannelsChanged c)
{