Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added hello_minecraft
Binary file not shown.
5 changes: 3 additions & 2 deletions include/mcpp/block.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

Check notice on line 1 in include/mcpp/block.h

View workflow job for this annotation

GitHub Actions / cpp-linter

Run clang-format on include/mcpp/block.h

File include/mcpp/block.h does not conform to Custom style guidelines. (lines 15, 16)

#include <ostream>

Expand All @@ -12,7 +12,8 @@
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.
Expand Down Expand Up @@ -40,7 +41,7 @@
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.
Expand Down
Loading