Possible fix for #271
This commit is contained in:
parent
b18e53e79f
commit
3999d804cf
@ -180,7 +180,9 @@ public class BukkitQueue_1_10 extends BukkitQueue_0<Chunk, ChunkSection[], Chunk
|
|||||||
worlddata.checkName(name);
|
worlddata.checkName(name);
|
||||||
final WorldServer internal = (WorldServer)new WorldServer(console, sdm, worlddata, dimension, console.methodProfiler, creator.environment(), generator).b();
|
final WorldServer internal = (WorldServer)new WorldServer(console, sdm, worlddata, dimension, console.methodProfiler, creator.environment(), generator).b();
|
||||||
startSet(true); // Temporarily allow async chunk load since the world isn't added yet
|
startSet(true); // Temporarily allow async chunk load since the world isn't added yet
|
||||||
internal.a(worldSettings);
|
if (worldSettings != null) {
|
||||||
|
internal.a(worldSettings);
|
||||||
|
}
|
||||||
endSet(true);
|
endSet(true);
|
||||||
internal.scoreboard = server.getScoreboardManager().getMainScoreboard().getHandle();
|
internal.scoreboard = server.getScoreboardManager().getMainScoreboard().getHandle();
|
||||||
internal.tracker = new EntityTracker(internal);
|
internal.tracker = new EntityTracker(internal);
|
||||||
|
@ -584,7 +584,9 @@ public class BukkitQueue18R3 extends BukkitQueue_0<Chunk, ChunkSection[], ChunkS
|
|||||||
worlddata.checkName(name);
|
worlddata.checkName(name);
|
||||||
final WorldServer internal = (WorldServer)new WorldServer(console, sdm, worlddata, dimension, console.methodProfiler, creator.environment(), generator).b();
|
final WorldServer internal = (WorldServer)new WorldServer(console, sdm, worlddata, dimension, console.methodProfiler, creator.environment(), generator).b();
|
||||||
startSet(true); // Temporarily allow async chunk load since the world isn't added yet
|
startSet(true); // Temporarily allow async chunk load since the world isn't added yet
|
||||||
internal.a(worldSettings);
|
if (worldSettings != null) {
|
||||||
|
internal.a(worldSettings);
|
||||||
|
}
|
||||||
endSet(true);
|
endSet(true);
|
||||||
internal.scoreboard = server.getScoreboardManager().getMainScoreboard().getHandle();
|
internal.scoreboard = server.getScoreboardManager().getMainScoreboard().getHandle();
|
||||||
internal.tracker = new EntityTracker(internal);
|
internal.tracker = new EntityTracker(internal);
|
||||||
|
@ -230,7 +230,9 @@ public class BukkitQueue_1_9_R1 extends BukkitQueue_0<Chunk, ChunkSection[], Chu
|
|||||||
worlddata.checkName(name);
|
worlddata.checkName(name);
|
||||||
final WorldServer internal = (WorldServer)new WorldServer(console, sdm, worlddata, dimension, console.methodProfiler, creator.environment(), generator).b();
|
final WorldServer internal = (WorldServer)new WorldServer(console, sdm, worlddata, dimension, console.methodProfiler, creator.environment(), generator).b();
|
||||||
startSet(true); // Temporarily allow async chunk load since the world isn't added yet
|
startSet(true); // Temporarily allow async chunk load since the world isn't added yet
|
||||||
internal.a(worldSettings);
|
if (worldSettings != null) {
|
||||||
|
internal.a(worldSettings);
|
||||||
|
}
|
||||||
endSet(true);
|
endSet(true);
|
||||||
internal.scoreboard = server.getScoreboardManager().getMainScoreboard().getHandle();
|
internal.scoreboard = server.getScoreboardManager().getMainScoreboard().getHandle();
|
||||||
internal.tracker = new EntityTracker(internal);
|
internal.tracker = new EntityTracker(internal);
|
||||||
|
Loading…
Reference in New Issue
Block a user