// GuiInventory inv = new GuiInventory(player);
return player.inventoryContainer;
}
if (ID == ArmorProxyCommon.armorGuiID)
{
TPlayerStats stats = TPlayerStats.get(player);
return new ArmorExtendedContainer(player.inventory, stats.armor);
}
if (ID == ArmorProxyCommon.knapsackGuiID)
{
TPlayerStats stats = TPlayerStats.get(player);
return new KnapsackContainer(player.inventory, stats.knapsack);
}
return null;
}