Merge pull request #58 from CrazyCloudCraft/dev-beta2-test

Dev beta2 test
This commit is contained in:
CrazyCloudCraft | Argantiu 2022-08-08 20:21:42 +02:00 committed by GitHub
commit 4dbadd0d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -1 +1,3 @@
git clone https://github.com/CrazyCloudCraft/worldsystem-depecated.git && cd worldsystem-depecated && chmod +x gradlew && ./gradlew build
#git clone

View File

@ -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")

View File

@ -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 {

View File

@ -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 {
}
}
*/