diff --git a/src/main/java/net/minestom/server/instance/InstanceContainer.java b/src/main/java/net/minestom/server/instance/InstanceContainer.java index ff58426dc..5918d3aaa 100644 --- a/src/main/java/net/minestom/server/instance/InstanceContainer.java +++ b/src/main/java/net/minestom/server/instance/InstanceContainer.java @@ -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 diff --git a/src/test/java/demo/PlayerInit.java b/src/test/java/demo/PlayerInit.java index 485347368..e1131b783 100644 --- a/src/test/java/demo/PlayerInit.java +++ b/src/test/java/demo/PlayerInit.java @@ -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();