mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-01-20 20:51:27 +01:00
Update AsyncCreatorAdapter.java
This commit is contained in:
parent
dc8eda4df5
commit
a185b6b4db
@ -20,8 +20,8 @@ public class AsyncCreatorAdapter implements CreatorAdapter {
|
||||
@Override
|
||||
public void create(WorldCreator creator, SystemWorld sw, Runnable r) {
|
||||
|
||||
|
||||
TaskManager.IMP.async(() -> {
|
||||
// moved IMP to INSTANCE
|
||||
TaskManager.INSTANCE.async(() -> {
|
||||
AsyncWorld world;
|
||||
if (Bukkit.getWorld(creator.name()) == null)
|
||||
world = AsyncWorld.create(creator);
|
||||
|
Loading…
Reference in New Issue
Block a user