From 27b4a6065bde57e943860e9cb0e2fdfaf40b7c9b Mon Sep 17 00:00:00 2001 From: TheMode Date: Mon, 28 Sep 2020 02:34:44 +0200 Subject: [PATCH] Updated Instances (markdown) --- Instances.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Instances.md b/Instances.md index 8ae455e..0ffa229 100644 --- a/Instances.md +++ b/Instances.md @@ -52,6 +52,7 @@ Check [here](https://github.com/Minestom/Minestom/wiki/Storage) if you want more // Here is how to create an instance having a storage location StorageLocation storageLocation = MinecraftServer.getStorageManager().getLocation("chunk_data"); InstanceContainer instanceContainer = instanceManager.createInstanceContainer(storageLocation); -// Save all chunks based on the IChunkLoader (instance containers save to storage location by default), you can specify a callback in order to know when the saving is done +// Save all chunks based on the IChunkLoader (instance containers save to the current storage location by default) +// you can specify a callback in order to know when the saving is done instanceContainer.saveChunksToStorage(); ``` \ No newline at end of file