mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Remove old create method that Guice doesn't like
This commit is contained in:
parent
763f7681a7
commit
95470c81b3
@ -37,36 +37,6 @@ import java.util.function.Consumer;
|
|||||||
|
|
||||||
public interface ChunkCoordinatorFactory {
|
public interface ChunkCoordinatorFactory {
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use {@link ChunkCoordinatorFactory#create(long, int, Consumer, World, Collection, Runnable, Consumer, boolean, Collection, boolean)}
|
|
||||||
*/
|
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
|
||||||
@NonNull
|
|
||||||
default ChunkCoordinator create(
|
|
||||||
final long maxIterationTime,
|
|
||||||
final int initialBatchSize,
|
|
||||||
final @NonNull Consumer<BlockVector2> chunkConsumer,
|
|
||||||
final @NonNull World world,
|
|
||||||
final @NonNull Collection<BlockVector2> requestedChunks,
|
|
||||||
final @NonNull Runnable whenDone,
|
|
||||||
final @NonNull Consumer<Throwable> throwableConsumer,
|
|
||||||
final boolean unloadAfter,
|
|
||||||
final @NonNull Collection<ProgressSubscriber> progressSubscribers
|
|
||||||
) {
|
|
||||||
return create(
|
|
||||||
maxIterationTime,
|
|
||||||
initialBatchSize,
|
|
||||||
chunkConsumer,
|
|
||||||
world,
|
|
||||||
requestedChunks,
|
|
||||||
whenDone,
|
|
||||||
throwableConsumer,
|
|
||||||
unloadAfter,
|
|
||||||
progressSubscribers,
|
|
||||||
false
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@NonNull ChunkCoordinator create(
|
@NonNull ChunkCoordinator create(
|
||||||
final long maxIterationTime,
|
final long maxIterationTime,
|
||||||
final int initialBatchSize,
|
final int initialBatchSize,
|
||||||
|
Loading…
Reference in New Issue
Block a user