fix(gameplay): use inline const for static EMPTY members

Use inline const for static EMPTY members to avoid ODR and linker issues.
Add missing block_manager.hpp includes in gameplay sources.
This commit is contained in:
2026-08-04 16:20:16 +08:00
parent 0259ca71ce
commit 8af30e159d
8 changed files with 8 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ ItemManager::ItemManager() {}
ItemManager& ItemManager::instance() {
static ItemManager inst;
return inst;
}