1 task instead of task per ChunkWork

This commit is contained in:
YouHaveTrouble
2021-07-23 01:04:34 +02:00
parent 6ee58e3199
commit a93fe5f635
5 changed files with 32 additions and 25 deletions
@@ -38,7 +38,7 @@ public class SetCommand implements TabExecutor {
player.sendMessage(Component.text("You need to select 2 points to do this"));
return true;
}
new SetOperation(WorkSplitter.getOperatedOnChunks(selection, bePlayer.getSelectionWorld()), bePlayer.getSelectionWorld(), selection, blockData);
new SetOperation(WorkSplitter.getOperatedOnChunks(selection), bePlayer, blockData, 1);
}
return true;
}