Bump paperlib, fix single worlds.

This commit is contained in:
dordsor21 2020-11-26 16:54:38 +00:00
parent 585111ca38
commit ee7f683b76
No known key found for this signature in database
GPG key ID: 1E53E88969FFCF0B
3 changed files with 5 additions and 5 deletions

View file

@ -28,7 +28,7 @@ dependencies {
compile(group: "com.sk89q.worldedit", name: "worldedit-bukkit", version: "7.2.0") { compile(group: "com.sk89q.worldedit", name: "worldedit-bukkit", version: "7.2.0") {
exclude(module: "bukkit") exclude(module: "bukkit")
} }
compile("io.papermc:paperlib:1.0.4") compile("io.papermc:paperlib:1.0.5")
implementation("net.kyori:text-adapter-bukkit:3.0.3") implementation("net.kyori:text-adapter-bukkit:3.0.3")
compile("com.github.MilkBowl:VaultAPI:1.7") { compile("com.github.MilkBowl:VaultAPI:1.7") {
exclude(module: "bukkit") exclude(module: "bukkit")
@ -94,7 +94,7 @@ task copyFiles {
shadowJar { shadowJar {
dependencies { dependencies {
include(dependency(":PlotSquared-Core")) include(dependency(":PlotSquared-Core"))
include(dependency("io.papermc:paperlib:1.0.4")) include(dependency("io.papermc:paperlib:1.0.5"))
include(dependency("net.kyori:text-adapter-bukkit:3.0.3")) include(dependency("net.kyori:text-adapter-bukkit:3.0.3"))
include(dependency("org.bstats:bstats-bukkit:1.7")) include(dependency("org.bstats:bstats-bukkit:1.7"))
include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT")) include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT"))

View file

@ -21,7 +21,7 @@
<dependency> <dependency>
<groupId>com.plotsquared</groupId> <groupId>com.plotsquared</groupId>
<artifactId>PlotSquared-Core</artifactId> <artifactId>PlotSquared-Core</artifactId>
<version>5.13.8</version> <version>5.13.9</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -45,7 +45,7 @@
<dependency> <dependency>
<groupId>io.papermc</groupId> <groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId> <artifactId>paperlib</artifactId>
<version>1.0.4</version> <version>1.0.5</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

View file

@ -62,7 +62,7 @@ public class BukkitWorldManager implements PlatformWorldManager<World> {
} }
protected void setGenerator(@Nullable final String worldName, @Nullable final String generator) { protected void setGenerator(@Nullable final String worldName, @Nullable final String generator) {
if (generator == null) { if (generator == null || worldName != null && worldName.contains(".")) {
return; return;
} }
File file = new File("bukkit.yml").getAbsoluteFile(); File file = new File("bukkit.yml").getAbsoluteFile();