public void fromConfig(CompatConfig cfg, String prefix) {
   CombatSymmetrySettings defaults = new CombatSymmetrySettings();
   allowCloseCombat = cfg.getBoolean(prefix + "allow-close-combat", defaults.allowCloseCombat);
   allowPotions = cfg.getBoolean(prefix + "allow-potions", defaults.allowPotions);
   allowProjectiles = cfg.getBoolean(prefix + "allow-projectiles", defaults.allowProjectiles);
 }
 public void toConfig(CompatConfig cfg, String prefix) {
   cfg.set(prefix + "allow-close-combat", allowCloseCombat);
   cfg.set(prefix + "allow-potions", allowPotions);
   cfg.set(prefix + "allow-projectiles", allowProjectiles);
 }