Hopefully fix a small DM issue
This commit is contained in:
parent
03727deda8
commit
e12dd2597c
1 changed files with 6 additions and 1 deletions
|
@ -489,13 +489,18 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I
|
||||||
stacks:
|
stacks:
|
||||||
for(ItemStack stack : stacks)
|
for(ItemStack stack : stacks)
|
||||||
{
|
{
|
||||||
if(stack == null)
|
if(stack == null || stack.getItem() == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i = 0; i < 27; i++)
|
for(int i = 0; i < 27; i++)
|
||||||
{
|
{
|
||||||
|
if(testInv[i] != null && testInv[i].getItem() == null)
|
||||||
|
{
|
||||||
|
testInv[i] = null;
|
||||||
|
}
|
||||||
|
|
||||||
if(testInv[i] == null)
|
if(testInv[i] == null)
|
||||||
{
|
{
|
||||||
testInv[i] = stack;
|
testInv[i] = stack;
|
||||||
|
|
Loading…
Reference in a new issue