public class VariableMigrationHelper extends Object implements IMigrationHelper
| Modifier and Type | Field and Description |
|---|---|
protected ninja.leaping.configurate.ConfigurationNode |
oldConfig |
protected File |
oldFile |
| Constructor and Description |
|---|
VariableMigrationHelper(ninja.leaping.configurate.ConfigurationNode oldConfig,
File oldFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
migrate(IConfigSource current) |
protected void |
traversal(Map<Object,? extends ninja.leaping.configurate.ConfigurationNode> map,
BiConsumer<String,Object> consumer)
Variable Manager of Sponge stores data different than how it works in Bukkit.
|
protected final ninja.leaping.configurate.ConfigurationNode oldConfig
protected final File oldFile
public VariableMigrationHelper(ninja.leaping.configurate.ConfigurationNode oldConfig,
File oldFile)
protected void traversal(Map<Object,? extends ninja.leaping.configurate.ConfigurationNode> map, BiConsumer<String,Object> consumer)
map - consumer - public void migrate(IConfigSource current)
migrate in interface IMigrationHelper