From 9c7812f205d3da0343a4db2999cd856e26811e68 Mon Sep 17 00:00:00 2001 From: zhenyan121 <3367366583@qq.com> Date: Thu, 16 Apr 2026 17:14:08 +0800 Subject: [PATCH] fix: BLOCK_REISTER can't build --- src/map_table.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map_table.cpp b/src/map_table.cpp index 68c0a3e..bff0620 100644 --- a/src/map_table.cpp +++ b/src/map_table.cpp @@ -3,10 +3,12 @@ #include #include +#include + std::unordered_map MapTable::id_to_name_map; std::unordered_map MapTable::name_to_id_map; -constexpr std::array BLOCK_REISTER{ +constexpr std::array BLOCK_REISTER{ "air", "grass_block", "dirt",