removeMissingModReferences

fun GameInfo.removeMissingModReferences()

Mods can change, leading to things on the map that are no longer defined in the mod. This function removes them so the game doesn't crash when it tries to access them.

Sources

jvm source
Link copied to clipboard