diff --git a/.github/gradlewcommand.txt b/.github/gradlewcommand.txt index 6290017..3be09f5 100644 --- a/.github/gradlewcommand.txt +++ b/.github/gradlewcommand.txt @@ -1 +1,3 @@ git clone https://github.com/CrazyCloudCraft/worldsystem-depecated.git && cd worldsystem-depecated && chmod +x gradlew && ./gradlew build + +#git clone diff --git a/build.gradle b/build.gradle index f74439c..046a11d 100644 --- a/build.gradle +++ b/build.gradle @@ -182,6 +182,7 @@ dependencies { } } + compileOnly spigot('1.19.2') compileOnly lombok() annotationProcessor lombok() @@ -203,7 +204,9 @@ dependencies { compileOnly 'me.clip:placeholderapi:2.11.2' compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1' compileOnly 'com.mojang:authlib:1.5.25' - compileOnly 'org.projectlombok:lombok:1.18.24' + compileOnly 'org.projectlombok:lombok:1.18.24' + // compileOnly spigot('1.19') + compileOnly 'org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT' compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.2.11-SNAPSHOT' compileOnly 'com.sk89q.worldedit:worldedit-core:7.2.11-SNAPSHOT' compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.4.2") diff --git a/src/main/java/de/butzlabben/world/WorldSystem.java b/src/main/java/de/butzlabben/world/WorldSystem.java index 1390d01..1a4a0b2 100644 --- a/src/main/java/de/butzlabben/world/WorldSystem.java +++ b/src/main/java/de/butzlabben/world/WorldSystem.java @@ -8,7 +8,7 @@ import de.butzlabben.world.util.PapiExtension; import de.butzlabben.world.util.PlayerPositions; import de.butzlabben.world.util.VersionUtil; import de.butzlabben.world.util.database.DatabaseProvider; -import de.butzlabben.world.wrapper.AsyncCreatorAdapter; +// import de.butzlabben.world.wrapper.AsyncCreatorAdapter; // Since FAWE 2.0 this do nothing import de.butzlabben.world.wrapper.CreatorAdapter; import de.butzlabben.world.wrapper.SystemWorld; // import org.bstats.bukkit.Metrics; // Argantiu Development hates bstats, cause of data privecy. Also it isn't working. @@ -168,7 +168,7 @@ public class WorldSystem extends JavaPlugin { && PluginConfig.loadWorldsASync() && !is1_13Plus) { - creator = new AsyncCreatorAdapter(); + // creator = new AsyncCreatorAdapter(); // Since FAWE 2.0 this do nothing Bukkit.getConsoleSender() .sendMessage(PluginConfig.getPrefix() + "Found FAWE! Worlds now will be created asynchronously"); } else { diff --git a/src/main/java/de/butzlabben/world/wrapper/AsyncCreatorAdapter.java b/src/main/java/de/butzlabben/world/wrapper/AsyncCreatorAdapter.java index c9693ce..c163fac 100644 --- a/src/main/java/de/butzlabben/world/wrapper/AsyncCreatorAdapter.java +++ b/src/main/java/de/butzlabben/world/wrapper/AsyncCreatorAdapter.java @@ -1,4 +1,4 @@ -package de.butzlabben.world.wrapper; +/* package de.butzlabben.world.wrapper; import com.boydti.fawe.bukkit.wrapper.AsyncWorld; //import com.boydti.fawe.util.TaskManager; @@ -10,11 +10,11 @@ import org.bukkit.block.Block; import java.util.Objects; -/** +/* * @author Butzlabben * @since 08.06.2018 */ -public class AsyncCreatorAdapter implements CreatorAdapter { +/* public class AsyncCreatorAdapter implements CreatorAdapter { // Create worlds async to close #16 @Override @@ -43,3 +43,4 @@ public class AsyncCreatorAdapter implements CreatorAdapter { } } +*/