diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..070ba585a --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,30 @@ +# Bug report for FastAsyncWorldEdit 1.13.2 + + + + +**[REQUIRED] FastAsyncWorldEdit Version Number:** + + +**[REQUIRED] Spigot/Paper Version Number:** + + +**Links to config.yml and config-legacy.yml file:** + + +**[REQUIRED] Description of the problem:** + + + +**Plugins being used on the server:** + + +**How to replicate**: + + +**Checklist**: + +- [] I included all information required in the sections above +- [] I made sure there are no duplicates of this report [(Use Search)](https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [] I made sure I am using an up-to-date version of [FastAsyncWorldEdit for 1.13.2](https://ci.athion.net/job/FastAsyncWorldEdit-Breaking/) +- [] I made sure the bug/error is not caused by any other plugin diff --git a/.gitignore b/.gitignore index f632b0d1f..18c977f27 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,5 @@ lib/ *.bat worldedit-bukkit/src/main/java/ignore/* todo.txt -mvn/* \ No newline at end of file +mvn/* +docs/ \ No newline at end of file diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index 8c525310d..000000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,19 +0,0 @@ -# Bug report for FastAsyncWorldEdit 1.13.x - - - -**Debug paste link**: - - -**Description of the problem:** - - -**How to replicate**: - - -**Checklist**: - -- [] I included a `/fawe debugpaste` link -- [] I made sure there aren't duplicates of this report [(Use Search)](https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13/issues?utf8=%E2%9C%93&q=is%3Aissue) -- [] I made sure I am using an up-to-date version of [FAWE for 1.13.x](https://ci.athion.net/job/FastAsyncWorldEdit-1.13/) -- [] I made sure the bug/error is not caused by any other plugin diff --git a/README.md b/README.md index c8494060a..08da15539 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,15 @@ FAWE is a fork of WorldEdit that has huge speed and memory improvements and cons ## Downloads ### 1.13+ -* [Download](https://incendo.org/download/) -* [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit-1.13/) +* [Download](https://empcraft.com/fawe/download/) +* [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit-Breaking/) +* [JavaDoc](https://ci.athion.net/job/FastAsyncWorldEdit-1.13/javadoc/) ### < 1.12.2 -* [Download](https://incendo.org/download/) +* [Download](https://empcraft.com/fawe/download/?bukkit) * [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit/) * [Repository](https://github.com/boy0001/FastAsyncWorldedit) +* [JavaDoc](https://ci.athion.net/job/FastAsyncWorldEdit/javadoc/) ## Building diff --git a/build.gradle b/build.gradle index 43b53a31e..2d42f2d6a 100644 --- a/build.gradle +++ b/build.gradle @@ -85,6 +85,7 @@ subprojects { maven {url "http://repo.dmulloy2.net/content/groups/public/"} maven {url "https://repo.destroystokyo.com/repository/maven-public//"} maven {url "http://ci.athion.net/job/PlotSquared-Breaking/ws/mvn/"} + maven { url "https://libraries.minecraft.net" } mavenLocal() maven {url "http://empcraft.com/maven2"} maven {url "https://hub.spigotmc.org/nexus/content/groups/public/"} @@ -126,4 +127,22 @@ subprojects { // header = rootProject.file("HEADER.txt") // include '**/*.java' //} -} \ No newline at end of file +} +task aggregatedJavadocs(type: Javadoc, description: 'Generate javadocs from all child projects as if it was a single project', group: 'Documentation') { + destinationDir = file("./docs/javadoc") + title = "$project.name $version API" + options.author true + options.links 'http://docs.spring.io/spring/docs/4.3.x/javadoc-api/', 'http://docs.oracle.com/javase/8/docs/api/', 'http://docs.spring.io/spring-ws/docs/2.3.0.RELEASE/api/', 'http://docs.spring.io/spring-security/site/docs/4.0.4.RELEASE/apidocs/' + options.addStringOption('Xdoclint:none', '-quiet') + + delete "./docs" + + subprojects.each { proj -> + proj.tasks.withType(Javadoc).each { javadocTask -> + source += javadocTask.source + classpath += javadocTask.classpath + excludes += javadocTask.excludes + includes += javadocTask.includes + } + } +} diff --git a/worldedit-core/build.gradle b/worldedit-core/build.gradle index ae5138932..612041f71 100644 --- a/worldedit-core/build.gradle +++ b/worldedit-core/build.gradle @@ -23,6 +23,7 @@ dependencies { compile ("com.github.intellectualsites.plotsquared:PlotSquared-API:latest") { transitive = false } + compile 'com.mojang:datafixerupper:1.0.20' compile 'com.github.luben:zstd-jni:1.1.1' compile 'co.aikar:fastutil-lite:1.0' } diff --git a/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java b/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java index 4adbcdc35..7c885af07 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java @@ -77,8 +77,11 @@ public final class BrushCache { Map map; if (nbt == null) { if (tool == null) { - item.setNbtData(null); - return tool; + Map raw = nbt.getRaw(); + if (raw.remove("weBrushJson") != null && raw.isEmpty()) { + item.setNbtData(null); + } + return null; } nbt = new CompoundTag(map = new HashMap<>()); } else {