Merge pull request #40 from jstoeckm2/master

Add teleport delay to load world and BuildersUtlities command fix
This commit is contained in:
Daniel 2019-09-07 21:08:06 +02:00 committed by GitHub
commit 0ddf166b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -337,7 +337,11 @@ public class SystemWorld {
this.w = w;
Bukkit.getScheduler().scheduleSyncDelayedTask(WorldSystem.getInstance(), new Runnable() {
public void run() {
teleportToWorldSpawn(p);
}
}, 10L);
OfflinePlayer owner = Bukkit.getOfflinePlayer(WorldConfig.getWorldConfig(worldname).getOwner());
DependenceConfig dc = new DependenceConfig(owner);

View File

@ -5,7 +5,7 @@ main: de.butzlabben.world.WorldSystem
api-version: 1.13
loadbefore: [FastAsyncWorldEdit, WorldEdit]
loadbefore: [FastAsyncWorldEdit, WorldEdit, BuildersUtilities]
permissions:
ws.*: