Cache nmsWorld during queue initialization

This commit is contained in:
Jesse Boyd 2016-09-24 13:27:52 +10:00
parent 889efdcc45
commit d4fd374caa
4 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,7 @@ public class BukkitQueue_1_10 extends BukkitQueue_0<Chunk, ChunkSection[], Chunk
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
getImpWorld();
} }
@Override @Override

View File

@ -83,6 +83,7 @@ public class BukkitQueue17 extends BukkitQueue_0<Chunk, ChunkSection[], ChunkSec
e.printStackTrace(); e.printStackTrace();
} }
} }
getImpWorld();
} }
@Override @Override

View File

@ -81,6 +81,7 @@ public class BukkitQueue18R3 extends BukkitQueue_0<Chunk, ChunkSection[], ChunkS
} catch (Throwable e) {} } catch (Throwable e) {}
} }
super.setupAdapter(adapter); super.setupAdapter(adapter);
getImpWorld();
} }
@Override @Override

View File

@ -93,6 +93,7 @@ public class BukkitQueue_1_9_R1 extends BukkitQueue_0<Chunk, ChunkSection[], Chu
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
getImpWorld();
} }
@Override @Override