mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Improve edge case handling in LBMManager
This commit is contained in:
parent
3dca2cd26a
commit
ed40ea010b
2 changed files with 32 additions and 26 deletions
|
@ -103,6 +103,7 @@ public:
|
|||
void addLBM(LoadingBlockModifierDef *lbm_def, IGameDef *gamedef);
|
||||
const lbm_map::mapped_type *lookup(content_t c) const;
|
||||
const lbm_vector &getList() const { return lbm_list; }
|
||||
bool empty() const { return lbm_list.empty(); }
|
||||
|
||||
// This struct owns the LBM pointers.
|
||||
~LBMContentMapping();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue