Annihilation Plane now drops its buffer.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user