This commit is contained in:
Shadows_of_Fire 2018-06-23 12:39:59 -04:00
parent 06b6511663
commit 0b4a870717
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ public class TileEntityMiner extends TileEntityInventoryBase implements IButtonR
this.world.playEvent(2001, pos, Block.getStateId(this.world.getBlockState(pos)));
this.world.setBlockToAir(pos);
StackUtil.addAll(inv, drops);
StackUtil.addAll(inv, drops, false);
this.markDirty();
this.storage.extractEnergyInternal(actualUse, false);

View file

@ -62,7 +62,7 @@ public class TileEntityRangedCollector extends TileEntityInventoryBase implement
ArrayList<ItemStack> checkList = new ArrayList<ItemStack>();
checkList.add(toAdd);
if (StackUtil.canAddAll(inv, checkList, false)) {
StackUtil.addAll(inv, checkList);
StackUtil.addAll(inv, checkList, false);
((WorldServer) this.world).spawnParticle(EnumParticleTypes.CLOUD, false, item.posX, item.posY + 0.45F, item.posZ, 5, 0, 0, 0, 0.03D);
item.setDead();
}