public void quickLoot() {
        for (int i = 0; i < inventorySize; i++) {
            int qty = inventory.getQtyFromSlot(i);
            if (qty > 0) {
                int oldQty = qty;
                String name = inventory.getNameFromSlot(i);
                int level = inventory.getLevelFromSlot(i);

                if(placeableManager.playerAddItem(name, qty, level) < oldQty) {
                    deleteInventory(i, oldQty - qty);
                }
            }
        }
        hud.setShouldRender(false);
    }