mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-11-29 12:55:11 +01:00
Merge pull request #40 from jstoeckm2/master
Add teleport delay to load world and BuildersUtlities command fix
This commit is contained in:
commit
0ddf166b34
@ -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);
|
||||
|
@ -5,7 +5,7 @@ main: de.butzlabben.world.WorldSystem
|
||||
|
||||
api-version: 1.13
|
||||
|
||||
loadbefore: [FastAsyncWorldEdit, WorldEdit]
|
||||
loadbefore: [FastAsyncWorldEdit, WorldEdit, BuildersUtilities]
|
||||
|
||||
permissions:
|
||||
ws.*:
|
||||
|
Loading…
Reference in New Issue
Block a user