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;
    }

    ItemStack small = new ItemStack(plugin.yamlHandler.configYaml.getInt("economy.items.small.type", 371), plugin.yamlHandler.configYaml.getInt("economy.items.small.amount", 1));
    ItemStack medium = new ItemStack(plugin.yamlHandler.configYaml.getInt("economy.items.medium.type", 371), plugin.yamlHandler.configYaml.getInt("economy.items.medium.amount", 1));
    ItemStack large = new ItemStack(plugin.yamlHandler.configYaml.getInt("economy.items.large.type", 371), plugin.yamlHandler.configYaml.getInt("economy.items.large.amount", 1));

    p1inv = new CurrencyTradeInventory(plugin, p2.getName(), rows, small, medium, large, plugin.yamlHandler.configYaml.getInt("economy.values.small", 1), plugin.yamlHandler.configYaml.getInt("economy.values.medium", 10), plugin.yamlHandler.configYaml.getInt("economy.values.large", 50));
    p2inv = new CurrencyTradeInventory(plugin, p1.getName(), rows, small, medium, large, plugin.yamlHandler.configYaml.getInt("economy.values.small", 1), plugin.yamlHandler.configYaml.getInt("economy.values.medium", 10), plugin.yamlHandler.configYaml.getInt("economy.values.large", 50));
  }