Add version to config.yml

This commit is contained in:
Eric Stokes 2011-07-13 18:30:07 -06:00
parent 55c77f48e0
commit ab56f9ed4d
2 changed files with 6 additions and 1 deletions

View File

@ -107,6 +107,7 @@ public class MVConfigMigrator {
newConfig.setProperty("disableautoheal", false);
newConfig.setProperty("fakepvp", false);
newConfig.setProperty("bedrespawn", true);
newConfig.setProperty("version", 2.0);
newConfig.save();
return true;
}

View File

@ -28,4 +28,8 @@ fakepvp: false
# When this is enabled, users will spawn at their last bed slept at. If the bed is destroyed or obstructed,
# they will spawn according to how you have 'notchrespawnstyle' set.
bedrespawn: true
bedrespawn: true
# This just signifies the version number so we can see what version of config you have.
# NEVER TOUCH THIS VALUE
version: 2.0