Skip to content

Commit ef495f1

Browse files
committed
chore: styling
1 parent 11402bc commit ef495f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/mcpp/block.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class BlockType {
1414
uint8_t mod; // NOLINT
1515

1616
// NOLINTNEXTLINE
17-
constexpr BlockType(uint8_t id = 0, uint8_t mod = 0) : id(id), mod(mod){};
17+
constexpr BlockType(uint8_t id = 0, uint8_t mod = 0) : id(id), mod(mod) {};
1818

1919
/**
2020
* @brief Equality comparison operator.

src/mcpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void MinecraftConnection::set_block(const Coordinate& loc, const BlockType& bloc
5454
}
5555

5656
void MinecraftConnection::set_blocks(const Coordinate& loc1, const Coordinate& loc2,
57-
const BlockType& block_type) {
57+
const BlockType& block_type) {
5858
auto [x1, y1, z1] = loc1;
5959
auto [x2, y2, z2] = loc2;
6060
_conn->send_command("world.setBlocks", x1, y1, z1, x2, y2, z2, static_cast<int>(block_type.id),

0 commit comments

Comments
 (0)