From fb1fb84965e0b3b54dc34e767a79945278455eaf Mon Sep 17 00:00:00 2001 From: Matt <4009945+MattBDev@users.noreply.github.com> Date: Fri, 16 Jul 2021 00:04:55 -0400 Subject: [PATCH] Fixed typo and grammar --- .../com/sk89q/worldedit/command/tool/brush/GravityBrush.java | 2 +- .../sk89q/worldedit/function/operation/DelegateOperation.java | 2 +- .../worldedit/internal/expression/invoke/CompilingVisitor.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java index 71cfae3bf..f1135799f 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java @@ -52,7 +52,7 @@ public void build(EditSession editSession, BlockVector3 position, Pattern patter for (double z = position.getZ() - size; z <= position.getZ() + size; z++) { /* * 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 * 3. Add 1 to $lowestAir's y-coord. * 4. If more blocks above current position, repeat from 2 diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/operation/DelegateOperation.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/operation/DelegateOperation.java index 160dcd60c..2446c9d6d 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/operation/DelegateOperation.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/operation/DelegateOperation.java @@ -26,7 +26,7 @@ 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. */ public class DelegateOperation implements Operation { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/invoke/CompilingVisitor.java b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/invoke/CompilingVisitor.java index 9768f4a86..3f5719ec8 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/invoke/CompilingVisitor.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/invoke/CompilingVisitor.java @@ -84,7 +84,7 @@ class CompilingVisitor extends ExpressionBaseVisitor { * 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 * (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;