mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Nothing
This commit is contained in:
parent
8bc9bc7de5
commit
94923c4b3a
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user