Change BlockType from struct to class

Fixes the -Wmismatched-tags compilation warning.
This commit is contained in:
Aaron Webster 2020-09-16 18:14:09 -07:00 committed by GitHub
parent bc8e9c5cb3
commit 367078178f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ namespace Resource {
#define BLOCK_SPRUCE (1u << 4)
#define BLOCK_WATER (1u << 5)
struct BlockType {
class BlockType {
private:
static const std::unordered_map<std::string, BlockType> Types;