Merge pull request #10 from AaronWebster/patch-1

Change BlockType from struct to class
This commit is contained in:
Matthias Schiffer 2020-09-17 07:47:29 +02:00 committed by GitHub
commit 67f4324441
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;