summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: 8b616afbd1207a883f1a10569fb4aafd27dfc96c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "minecraft.hpp"

#include <cstdlib>
#include <iostream>
#include <stdexcept>

int main() {
    app::Minecraft app{};

    try {
        app.run();
    } catch (const std::exception &e) {
        std::cerr << e.what() << '\n';
        return EXIT_FAILURE;
    }

    return EXIT_SUCCESS;
}