mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-03 13:33:22 +01:00
Merge pull request #58 from CrazyCloudCraft/dev-beta2-test
Dev beta2 test
This commit is contained in:
commit
4dbadd0d2a
2
.github/gradlewcommand.txt
vendored
2
.github/gradlewcommand.txt
vendored
@ -1 +1,3 @@
|
|||||||
git clone https://github.com/CrazyCloudCraft/worldsystem-depecated.git && cd worldsystem-depecated && chmod +x gradlew && ./gradlew build
|
git clone https://github.com/CrazyCloudCraft/worldsystem-depecated.git && cd worldsystem-depecated && chmod +x gradlew && ./gradlew build
|
||||||
|
|
||||||
|
#git clone
|
||||||
|
@ -182,6 +182,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
compileOnly spigot('1.19.2')
|
||||||
compileOnly lombok()
|
compileOnly lombok()
|
||||||
annotationProcessor lombok()
|
annotationProcessor lombok()
|
||||||
|
|
||||||
@ -203,7 +204,9 @@ dependencies {
|
|||||||
compileOnly 'me.clip:placeholderapi:2.11.2'
|
compileOnly 'me.clip:placeholderapi:2.11.2'
|
||||||
compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1'
|
compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1'
|
||||||
compileOnly 'com.mojang:authlib:1.5.25'
|
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-bukkit:7.2.11-SNAPSHOT'
|
||||||
compileOnly 'com.sk89q.worldedit:worldedit-core:7.2.11-SNAPSHOT'
|
compileOnly 'com.sk89q.worldedit:worldedit-core:7.2.11-SNAPSHOT'
|
||||||
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.4.2")
|
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.4.2")
|
||||||
|
@ -8,7 +8,7 @@ import de.butzlabben.world.util.PapiExtension;
|
|||||||
import de.butzlabben.world.util.PlayerPositions;
|
import de.butzlabben.world.util.PlayerPositions;
|
||||||
import de.butzlabben.world.util.VersionUtil;
|
import de.butzlabben.world.util.VersionUtil;
|
||||||
import de.butzlabben.world.util.database.DatabaseProvider;
|
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.CreatorAdapter;
|
||||||
import de.butzlabben.world.wrapper.SystemWorld;
|
import de.butzlabben.world.wrapper.SystemWorld;
|
||||||
// import org.bstats.bukkit.Metrics; // Argantiu Development hates bstats, cause of data privecy. Also it isn't working.
|
// 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()
|
&& PluginConfig.loadWorldsASync()
|
||||||
&& !is1_13Plus) {
|
&& !is1_13Plus) {
|
||||||
|
|
||||||
creator = new AsyncCreatorAdapter();
|
// creator = new AsyncCreatorAdapter(); // Since FAWE 2.0 this do nothing
|
||||||
Bukkit.getConsoleSender()
|
Bukkit.getConsoleSender()
|
||||||
.sendMessage(PluginConfig.getPrefix() + "Found FAWE! Worlds now will be created asynchronously");
|
.sendMessage(PluginConfig.getPrefix() + "Found FAWE! Worlds now will be created asynchronously");
|
||||||
} else {
|
} else {
|
||||||
|
@ -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.bukkit.wrapper.AsyncWorld;
|
||||||
//import com.boydti.fawe.util.TaskManager;
|
//import com.boydti.fawe.util.TaskManager;
|
||||||
@ -10,11 +10,11 @@ import org.bukkit.block.Block;
|
|||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* @author Butzlabben
|
* @author Butzlabben
|
||||||
* @since 08.06.2018
|
* @since 08.06.2018
|
||||||
*/
|
*/
|
||||||
public class AsyncCreatorAdapter implements CreatorAdapter {
|
/* public class AsyncCreatorAdapter implements CreatorAdapter {
|
||||||
|
|
||||||
// Create worlds async to close #16
|
// Create worlds async to close #16
|
||||||
@Override
|
@Override
|
||||||
@ -43,3 +43,4 @@ public class AsyncCreatorAdapter implements CreatorAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user