diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..a44211c7 Binary files /dev/null and b/.DS_Store differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e83a816..98db205e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,10 @@ jobs: working-directory: ./build run: make examples + - name: Install dotnet + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '7.0.x' # Start and join the Spigot Server - name: Set up Minecraft testing environment uses: nhatdongdang/mc-env-setup@v1.1 diff --git a/hello_minecraft b/hello_minecraft new file mode 100755 index 00000000..e78af0cf Binary files /dev/null and b/hello_minecraft differ diff --git a/include/mcpp/block.h b/include/mcpp/block.h index 1e3ac36b..acd8778b 100644 --- a/include/mcpp/block.h +++ b/include/mcpp/block.h @@ -12,7 +12,8 @@ class BlockType { int id; int mod; - constexpr BlockType(int id = 0, int modifier = 0) : id(id), mod(modifier){}; + constexpr BlockType(int id = 0, int modifier = 0) + : id(id), mod(modifier) {}; /** * @brief Equality comparison operator. @@ -40,7 +41,7 @@ class BlockType { bool operator!=(const BlockType& other) const; /** - * @brief Stream insertion operator for outputting the BlockType to an + * @brief Stram insertion operator for outputting the BlockType to an * output stream. * * @param out The output stream to write to.