Inventory.QualityCheck = function(item, IsHotbar, IsOtherInventory) {
        if (!Inventory.IsWeaponBlocked(item.name)) {
            if ((item.name).split("_")[0] == "weapon") {
                parseInt(item.info.quality).toFixed(2);
                if (item.info.quality == undefined) { item.info.quality = 100; }
                var QualityColor = "rgb(57, 172, 57)";
                if (item.info.quality < 25) {
                    QualityColor = "rgb(192, 57, 43)";
                } else if (item.info.quality > 25 && item.info.quality < 50) {
                    QualityColor = "rgb(230, 126, 34)";
                } else if (item.info.quality >= 50 && item.info.quality < 100) {
                    QualityColor = "rgb(51, 153, 51)";
                }
                if (item.info.quality !== undefined) {
                    qualityLabel = (item.info.quality).toFixed(2);
                } else {
                    qualityLabel = (item.info.quality).toFixed(2);
                }
                if (item.info.quality == 0) {
                    qualityLabel = "KIRILMIŞ";
                    if (!IsOtherInventory) {