Fixed typo and grammar

This commit is contained in:
Matt 2021-07-16 00:04:55 -04:00 committed by Octavia Togami
parent 8b38f6fbc0
commit fb1fb84965
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ public void build(EditSession editSession, BlockVector3 position, Pattern patter
for (double z = position.getZ() - size; z <= position.getZ() + size; z++) { for (double z = position.getZ() - size; z <= position.getZ() + size; z++) {
/* /*
* Algorithm: * Algorithm:
* 1. Find lowest air block in the selection -> $lowestAir = position * 1. Find the lowest air block in the selection -> $lowestAir = position
* 2. Move the first non-air block above it down to $lowestAir * 2. Move the first non-air block above it down to $lowestAir
* 3. Add 1 to $lowestAir's y-coord. * 3. Add 1 to $lowestAir's y-coord.
* 4. If more blocks above current position, repeat from 2 * 4. If more blocks above current position, repeat from 2

View File

@ -26,7 +26,7 @@
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkNotNull;
/** /**
* Executes a delegete operation, but returns to another operation upon * Executes a delegate operation, but returns to another operation upon
* completing the delegate. * completing the delegate.
*/ */
public class DelegateOperation implements Operation { public class DelegateOperation implements Operation {

View File

@ -84,7 +84,7 @@ class CompilingVisitor extends ExpressionBaseVisitor<MethodHandle> {
* General idea is that we don't need to pass around variables, they're all in ExecutionData. * General idea is that we don't need to pass around variables, they're all in ExecutionData.
* We do need to pass that around, so most MethodHandles will be of the type * We do need to pass that around, so most MethodHandles will be of the type
* (ExecutionData)Double, with a few as (ExecutionData,Double)Double where it needs an existing * (ExecutionData)Double, with a few as (ExecutionData,Double)Double where it needs an existing
* value passed in. EVERY handle returned from an overriden method must be of the first type. * value passed in. EVERY handle returned from an overridden method must be of the first type.
*/ */
private final Functions functions; private final Functions functions;