add explicit block fields total size limit - 240 bytes

This commit is contained in:
MihailRis
2024-10-02 17:08:46 +03:00
parent 221a34fa2e
commit e0a4876f3f
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -26,6 +26,8 @@ inline constexpr uint FACE_PZ = 5;
/// complex hitboxes
inline constexpr uint BLOCK_AABB_GRID = 16;
inline constexpr size_t MAX_BLOCK_FIELDS_SIZE = 240;
inline std::string DEFAULT_MATERIAL = "base:stone";
struct block_funcs_set {