From 30a7843018e8c977a03753518faad16ff0e89b92 Mon Sep 17 00:00:00 2001 From: Felix Cravic Date: Thu, 10 Dec 2020 00:08:35 +0100 Subject: [PATCH] Added #flush in comment --- .../java/net/minestom/server/instance/batch/BlockBatch.java | 2 +- .../java/net/minestom/server/instance/batch/ChunkBatch.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minestom/server/instance/batch/BlockBatch.java b/src/main/java/net/minestom/server/instance/batch/BlockBatch.java index 81b46bbe5..2d49418b5 100644 --- a/src/main/java/net/minestom/server/instance/batch/BlockBatch.java +++ b/src/main/java/net/minestom/server/instance/batch/BlockBatch.java @@ -18,7 +18,7 @@ import java.util.concurrent.atomic.AtomicInteger; /** * Used when the blocks you want to place need to be divided in multiple chunks, * use a {@link ChunkBatch} instead otherwise. - * Can be created using {@link Instance#createBlockBatch()}. + * Can be created using {@link Instance#createBlockBatch()}, and executed with {@link #flush(Runnable)}. * * @see InstanceBatch */ diff --git a/src/main/java/net/minestom/server/instance/batch/ChunkBatch.java b/src/main/java/net/minestom/server/instance/batch/ChunkBatch.java index 2226a69ff..61ae2acaf 100644 --- a/src/main/java/net/minestom/server/instance/batch/ChunkBatch.java +++ b/src/main/java/net/minestom/server/instance/batch/ChunkBatch.java @@ -20,7 +20,7 @@ import java.util.List; /** * Used when all the blocks you want to place can be contained within only one {@link Chunk}, * use a {@link BlockBatch} instead otherwise. - * Can be created using {@link Instance#createChunkBatch(Chunk)}. + * Can be created using {@link Instance#createChunkBatch(Chunk)}, and executed with {@link #flush(ChunkCallback)}. *

* Uses chunk coordinate (0-15) instead of world's. *