Config reset #1


  • New
  • Defect
Open
Assigned to _ForgeUser11795901
  • _ForgeUser21509681 created this issue Aug 24, 2015

    What steps will reproduce the problem?
    1. Change true to false at String 18 and 19 in the config.yml (Level1 and Level2 of INVISIBILITY) and save it.
    2. Start your Server.
    3. Reload the config.yml in your editor.

    What is the expected output? What do you see instead?
    I expected that the canfig.yml is like the one I saved but it resets it selve.

    What version of the product are you using?
    v0.3

    Do you have an error log of what happened?
    No, I can see nothing in my Server logs which could cause taht

    Please provide any additional information below.
    Maybe that is your fail:

        if (getConfig().getInt("version_config") != 0.3D)
        {
          configFile.delete();
          saveDefaultConfig();
          reloadConfig();
        }

    I think an int can't be a double, or?

  • _ForgeUser21509681 added the tags Defect New Aug 24, 2015
  • _ForgeUser21509681 edited description Aug 24, 2015

To post a comment, please login or register a new account.