diff --git a/.gitignore b/.gitignore index 87562d9b..5990ffac 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,3 @@ wiki_permissions.md /textures *.iml /obj -*.jar \ No newline at end of file diff --git a/build.gradle b/build.gradle index c795bf80..14a43eae 100644 --- a/build.gradle +++ b/build.gradle @@ -94,10 +94,10 @@ subprojects { } repositories { + maven {url "https://mvnrepository.com/artifact/"} mavenCentral() maven {url "http://repo.dmulloy2.net/content/groups/public/"} maven {url "https://repo.destroystokyo.com/repository/maven-public//"} - maven { url = "https://mvnrepository.com/artifact/"} maven {url "http://ci.emc.gs/nexus/content/groups/aikar/" } maven {url "http://ci.mengcraft.com:8080/plugin/repository/everything"} maven {url "http://ci.athion.net/job/PlotSquared/ws/mvn/"} diff --git a/core/src/main/java/com/boydti/fawe/util/metrics/BStats.java b/core/src/main/java/com/boydti/fawe/util/metrics/BStats.java index e82d8075..fd926031 100644 --- a/core/src/main/java/com/boydti/fawe/util/metrics/BStats.java +++ b/core/src/main/java/com/boydti/fawe/util/metrics/BStats.java @@ -81,6 +81,14 @@ public class BStats implements Closeable { this.online = online; File configFile = new File(getJarFile().getParentFile(), "bStats" + File.separator + "config.yml"); + if (!configFile.exists()) { + configFile.getParentFile().mkdirs(); + try { + configFile.createNewFile(); + } catch (IOException e) { + e.printStackTrace(); + } + } YamlConfiguration config = YamlConfiguration.loadConfiguration(configFile); diff --git a/sponge112/build.gradle b/sponge112/build.gradle index 0bf9b2b7..20eca60b 100644 --- a/sponge112/build.gradle +++ b/sponge112/build.gradle @@ -45,6 +45,7 @@ dependencies { compile 'org.spongepowered:spongeapi:7.1.0-SNAPSHOT' compile name: 'worldedit-sponge-6.1.9-SNAPSHOT-dist' compile name: 'worldedit-core-6.1.9-SNAPSHOT-dist' + compile 'org.yaml:snakeyaml:1.18' } minecraft { @@ -67,12 +68,12 @@ shadowJar { relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml' dependencies { include(dependency(':core')) + include(dependency('org.yaml:snakeyaml:1.18')) include(dependency('com.github.luben:zstd-jni:1.1.1')) // include(dependency('org.javassist:javassist:3.22.0-CR1')) include(dependency('co.aikar:fastutil-lite:1.0')) + include(dependency(name: 'worldedit-sponge-6.1.9-SNAPSHOT-dist')) include(dependency(name: 'worldedit-core-6.1.9-SNAPSHOT-dist')) - include(dependency('com.sk89q.worldedit:worldedit-sponge:6.1.9-SNAPSHOT')) - include(dependency('org.yaml:snakeyaml:1.16')) } archiveName = "${parent.name}-${project.name}-${parent.version}.jar" destinationDir = file '../target' diff --git a/sponge112/lib/worldedit-core-6.1.9-SNAPSHOT-dist.jar b/sponge112/lib/worldedit-core-6.1.9-SNAPSHOT-dist.jar new file mode 100644 index 00000000..3890b704 Binary files /dev/null and b/sponge112/lib/worldedit-core-6.1.9-SNAPSHOT-dist.jar differ diff --git a/sponge112/lib/worldedit-sponge-6.1.9-SNAPSHOT-dist.jar b/sponge112/lib/worldedit-sponge-6.1.9-SNAPSHOT-dist.jar new file mode 100644 index 00000000..66cf0382 Binary files /dev/null and b/sponge112/lib/worldedit-sponge-6.1.9-SNAPSHOT-dist.jar differ