In 1.22.0 (stable), some mods display the following message:

“This mod requires game version 1.22.0, but your version is 1.22.0. It might not load correctly.”
This message appears contradictory at first glance (requested version and current version are identical yet reports a mismatch), which could be mistaken for the mod being outdated.
1. How to reproduce
- Install/enable a mod under
1.22.0 stablethat declaresgame = "1.22.0"in its dependencies. - Open the mod list and enable this mod.
- Observe the warning message reading: “This mod requires game version 1.22.0, but your version is 1.22.0. It might not load correctly.”
2. Decompilation results
From decompiling VintagestoryAPI.dll:
OverallVersion = "1.22.0"ShortGameVersion = "1.22.0"APIVersion = "1.21.0"
3. Cause
Clearly, the API version still uses the old version number. This causes mods using 1.22.0 that specify 1.22.0 in their configuration file’s game field to trigger warnings regardless.
4. Currently not fixed by the official developers
This should be fixed in the next version. It can be ignored for now.
我也遇到了这个bug(测试评论+1)
– HansJack