Add teleport delay to load world and BuildersUtlities command overwrite fix

This commit is contained in:
jstoeckm2 2019-09-07 20:39:24 +02:00
parent e4f51776c1
commit 48a0e7c008
2 changed files with 6 additions and 2 deletions

View File

@ -337,7 +337,11 @@ public class SystemWorld {
this.w = w;
teleportToWorldSpawn(p);
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.*: