From ee7f683b76abdae898563ca791b9973fc6c562e5 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 26 Nov 2020 16:54:38 +0000 Subject: [PATCH] Bump paperlib, fix single worlds. --- Bukkit/build.gradle | 4 ++-- Bukkit/pom.xml | 4 ++-- .../com/plotsquared/bukkit/managers/BukkitWorldManager.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Bukkit/build.gradle b/Bukkit/build.gradle index f8770c04f..ff2e398fd 100644 --- a/Bukkit/build.gradle +++ b/Bukkit/build.gradle @@ -28,7 +28,7 @@ dependencies { compile(group: "com.sk89q.worldedit", name: "worldedit-bukkit", version: "7.2.0") { 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") compile("com.github.MilkBowl:VaultAPI:1.7") { exclude(module: "bukkit") @@ -94,7 +94,7 @@ task copyFiles { shadowJar { dependencies { 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("org.bstats:bstats-bukkit:1.7")) include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT")) diff --git a/Bukkit/pom.xml b/Bukkit/pom.xml index e059f957f..7918a3e5a 100644 --- a/Bukkit/pom.xml +++ b/Bukkit/pom.xml @@ -21,7 +21,7 @@ com.plotsquared PlotSquared-Core - 5.13.8 + 5.13.9 compile @@ -45,7 +45,7 @@ io.papermc paperlib - 1.0.4 + 1.0.5 compile diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/managers/BukkitWorldManager.java b/Bukkit/src/main/java/com/plotsquared/bukkit/managers/BukkitWorldManager.java index 4646868a1..a1fbb6428 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/managers/BukkitWorldManager.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/managers/BukkitWorldManager.java @@ -62,7 +62,7 @@ public class BukkitWorldManager implements PlatformWorldManager { } protected void setGenerator(@Nullable final String worldName, @Nullable final String generator) { - if (generator == null) { + if (generator == null || worldName != null && worldName.contains(".")) { return; } File file = new File("bukkit.yml").getAbsoluteFile();