Fix configuration version node

This commit is contained in:
Simon Chuu 2019-03-29 23:08:36 -04:00
parent 989b2bb07c
commit 9f41e62de5
2 changed files with 3 additions and 5 deletions

View File

@ -5,19 +5,17 @@ plugins {
}
group 'com.simonorj.mc.phantomsmp'
version '1.0.2'
version '1.1.0'
sourceCompatibility = 1.8
repositories {
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
mavenCentral()
}
dependencies {
compile 'org.spigotmc:spigot-api:1.13-R0.1-SNAPSHOT'
// testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT'
}
processResources {

View File

@ -27,7 +27,7 @@ class ConfigSaver {
"# spawned phantoms only.\n";
private static final String CONFIG_VERSION =
"# Keeps track of configuration version -- do not change!";
"# Keeps track of configuration version -- do not change!\n";
static String saveToString(FileConfiguration config) {
boolean remove = config.getBoolean(REMOVE_TARGETING_RESTED_NODE, true);