ModuleConfig.addPreset

Adds a preset to the configuration either from a backup or an import.

class ModuleConfig
public
void
addPreset
(
string modID
,
Tag backup
)

Parameters

modID string

Module name/ID.

backup Tag

The preset to be (re)added.

Meta