1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Strip leading colon from LBM names

This commit is contained in:
sfan5 2025-03-18 20:36:18 +01:00
parent 71cd25a798
commit 3dca2cd26a
2 changed files with 36 additions and 25 deletions

View file

@ -149,6 +149,9 @@ private:
// The key of the map is the LBM def's first introduction time.
lbm_lookup_map m_lbm_lookup;
static std::unordered_map<std::string, u32>
parseIntroductionTimesString(const std::string &times);
// Returns an iterator to the LBMs that were introduced
// after the given time. This is guaranteed to return
// valid values for everything