This commit is contained in:
TheMode 2021-06-20 20:50:54 +02:00
parent 8bc9bc7de5
commit 94923c4b3a
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ public class InstanceContainer extends Instance {
OptionalCallback.execute(callback, chunk);
} else {
if (hasEnabledAutoChunkLoad()) {
// Load chunk from StorageLocation or with ChunkGenerator
// Use `IChunkLoader` or `ChunkGenerator`
retrieveChunk(chunkX, chunkZ, callback);
} else {
// Chunk not loaded, return null

View File

@ -95,7 +95,7 @@ public class PlayerInit {
event.setSpawningInstance(instance);
int x = Math.abs(ThreadLocalRandom.current().nextInt()) % 500 - 250;
int z = Math.abs(ThreadLocalRandom.current().nextInt()) % 500 - 250;
player.setRespawnPoint(new Position(0, 42f, 0));
player.setRespawnPoint(new Position(0, 82f, 0));
})
.addListener(PlayerSpawnEvent.class, event -> {
final Player player = event.getPlayer();