protected void createTradingInventories()
  {
    int rows = 4;
    int rowsP1 = getAllowedGuiRows(p1);
    int rowsP2 = getAllowedGuiRows(p2);

    if (rowsP2 > rowsP1) {
      if (plugin.yamlHandler.configYaml.getBoolean("use_biggest", true))
        rows = rowsP2;
      else {
        rows = rowsP1;
      }
    }
    else if (plugin.yamlHandler.configYaml.getBoolean("use_biggest", true))
      rows = rowsP1;
    else {
      rows = rowsP2;
    }

    p1inv = new ItemTradeInventory(plugin, p2.getName(), rows);
    p2inv = new ItemTradeInventory(plugin, p1.getName(), rows);
  }